SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 03/07/2016, 09:23 PM   #11
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 111
Reputation: 174
Default Re: Pawn.Regex - full support of regular expressions

Quote:
Originally Posted by Arturo226 View Post
I've downloaded 1.1, however I get the following on server launch:
Code:
Plugin::AmxLoad: .inc-file version does not equal the plugin's version
Run time error 19: "File or function not found"
I am running this on a Windows server.
You need re-compile your gamemode with new Pawn.Regex.inc.
YourShadow is online now   Reply With Quote
Old 03/07/2016, 09:38 PM   #12
Arturo226
Little Clucker
 
Join Date: Oct 2009
Location: England
Posts: 17
Reputation: 0
Default Re: Pawn.Regex - full support of regular expressions

OK, I forgot to actually update the .inc for some reason :P
The run-time error isn't caused by your plugin though.
Arturo226 is offline   Reply With Quote
Old 03/07/2016, 10:54 PM   #13
Vince
Spam Machine
 
Vince's Avatar
 
Join Date: Sep 2007
Location: Belgium
Posts: 11,045
Reputation: 2647
Default Re: Pawn.Regex - full support of regular expressions

Quote:
Originally Posted by Meller View Post
Nice I guess, But what makes this so much better than strfind? All difference I can see are it's cleaner.
A regular expression searches for patterns, not a contiguous string of specific characters. I use this site all the time: http://regexr.com/
__________________
Vince is offline   Reply With Quote
Old 12/07/2016, 06:13 AM   #14
Chaprnks
Gangsta
 
Chaprnks's Avatar
 
Join Date: Sep 2007
Location: Soviet America
Posts: 674
Reputation: 41
Default Re: Pawn.Regex - full support of regular expressions

Code:
[07:09:59]  Loading plugin: pawncmd.so
[07:09:59] Pawn.CMD plugin v3.1.2 by urShadow loaded
[07:09:59]   Loaded.
[07:09:59]  Loading plugin: pawnregex.so
[07:09:59] Pawn.Regex plugin v1.1 by urShadow loaded
[07:09:59]   Loaded.

[07:09:59] [debug] Run time error 19: "File or function is not found"
[07:09:59] [debug]  regex_new
[07:09:59] [debug]  regex_check
[07:09:59] [debug]  regex_delete
[07:09:59] [debug] Run time error 19: "File or function is not found"
[07:09:59] [debug]  regex_new
[07:09:59] [debug]  regex_check
[07:09:59] [debug]  regex_delete
[07:09:59] Script[gamemodes/main.amx]: Run time error 19: "File or function is not found"
Ironically, this error only seemed to produce when I implemented Pawn.CMD in combination with Pawn.Regex







While fiddling around with this issue; I found out something even more bizarre. I swapped the load order of Pawn.CMD & Pawn.Regex; and now this is what returns "file/function not found":

Code:
[07:24:30]  Loading plugin: pawnregex.so
[07:24:30] Pawn.Regex plugin v1.1 by urShadow loaded
[07:24:30]   Loaded.
[07:24:30]  Loading plugin: pawncmd.so
[07:24:30] Pawn.CMD plugin v3.1.2 by urShadow loaded
[07:24:30]   Loaded.

[07:24:30] [debug] Run time error 19: "File or function is not found"
[07:24:30] [debug]  PC_EmulateCommand
[07:24:30] [debug]  PC_RegAlias
[07:24:30] [debug] Run time error 19: "File or function is not found"
[07:24:30] [debug]  PC_EmulateCommand
[07:24:30] [debug]  PC_RegAlias
[07:24:30] Script[gamemodes/main.amx]: Run time error 19: "File or function is not found"
Chaprnks is offline   Reply With Quote
Old 23/07/2016, 12:59 PM   #15
Kamper
Guest
 
Posts: n/a
Default Re: Pawn.Regex - full support of regular expressions

Actually i'm trying your plugin on my project but i got this message



how could i fix that?
  Reply With Quote
Old 23/07/2016, 01:30 PM   #16
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 111
Reputation: 174
Default Re: Pawn.Regex - full support of regular expressions

Quote:
Originally Posted by Kamper View Post
Actually i'm trying your plugin on my project but i got this message



how could i fix that?
I need a full .log file.
YourShadow is online now   Reply With Quote
Old 23/07/2016, 05:02 PM   #17
Kamper
Guest
 
Posts: n/a
Default Re: Pawn.Regex - full support of regular expressions

Quote:
Originally Posted by YourShadow View Post
I need a full .log file.
There's nothing more on the console about the error. Just those messages.
  Reply With Quote
Old 26/07/2016, 10:27 PM   #18
IstuntmanI
High-roller
 
IstuntmanI's Avatar
 
Join Date: Mar 2009
Location: Romania
Posts: 1,878
Reputation: 366
Default Re: Pawn.Regex - full support of regular expressions

Is this plugin more stable than Fro1sha's plugin ? I heard that the old one may have crashes, even if I had none with it yet. Can we get some speed comparisons ?
__________________


IstuntmanI is offline   Reply With Quote
Old 14/08/2016, 12:11 PM   #19
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 111
Reputation: 174
Default Re: Pawn.Regex - full support of regular expressions

Quote:
Originally Posted by IstuntmanI View Post
Is this plugin more stable than Fro1sha's plugin ?
Yes. Pawn.Regex uses an exception handling.
YourShadow is online now   Reply With Quote
Old 09/04/2017, 08:01 AM   #20
Salik
Big Clucker
 
Salik's Avatar
 
Join Date: Aug 2015
Location: Russia
Posts: 78
Reputation: 0
Default Re: Pawn.Regex - full support of regular expressions

Quote:
Originally Posted by Chaprnks View Post
Code:
[07:09:59]  Loading plugin: pawncmd.so
[07:09:59] Pawn.CMD plugin v3.1.2 by urShadow loaded
[07:09:59]   Loaded.
[07:09:59]  Loading plugin: pawnregex.so
[07:09:59] Pawn.Regex plugin v1.1 by urShadow loaded
[07:09:59]   Loaded.

[07:09:59] [debug] Run time error 19: "File or function is not found"
[07:09:59] [debug]  regex_new
[07:09:59] [debug]  regex_check
[07:09:59] [debug]  regex_delete
[07:09:59] [debug] Run time error 19: "File or function is not found"
[07:09:59] [debug]  regex_new
[07:09:59] [debug]  regex_check
[07:09:59] [debug]  regex_delete
[07:09:59] Script[gamemodes/main.amx]: Run time error 19: "File or function is not found"
Ironically, this error only seemed to produce when I implemented Pawn.CMD in combination with Pawn.Regex







While fiddling around with this issue; I found out something even more bizarre. I swapped the load order of Pawn.CMD & Pawn.Regex; and now this is what returns "file/function not found":

Code:
[07:24:30]  Loading plugin: pawnregex.so
[07:24:30] Pawn.Regex plugin v1.1 by urShadow loaded
[07:24:30]   Loaded.
[07:24:30]  Loading plugin: pawncmd.so
[07:24:30] Pawn.CMD plugin v3.1.2 by urShadow loaded
[07:24:30]   Loaded.

[07:24:30] [debug] Run time error 19: "File or function is not found"
[07:24:30] [debug]  PC_EmulateCommand
[07:24:30] [debug]  PC_RegAlias
[07:24:30] [debug] Run time error 19: "File or function is not found"
[07:24:30] [debug]  PC_EmulateCommand
[07:24:30] [debug]  PC_RegAlias
[07:24:30] Script[gamemodes/main.amx]: Run time error 19: "File or function is not found"
Quote:
Originally Posted by Kamper View Post
Actually i'm trying your plugin on my project but i got this message



how could i fix that?
Actually, i got this message in my project, Fix this pls.
Salik is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] Regular Expressions Plugin v0.2 (RegEx) Koala818 Plugin Development 22 09/09/2016 08:36 AM
[Tutorial] Converting to ALS 4 (Hook Method 7) Very Quickly With Regular Expressions [HLF]Southclaw Tutorials 1 29/07/2014 09:12 PM
Need help and full support monkuttan Server Support 33 16/11/2013 03:35 PM
expressions string to expressions? iJumbo Scripting Help 9 05/05/2013 01:56 AM
[REGEX] Acceptable nickname regular expression ikkentim Scripting Help 1 29/01/2013 09:13 PM


All times are GMT. The time now is 07:26 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.