Re: Pawn.CMD -
Crayder - 28.02.2019
Quote:
Originally Posted by m3shys
how much work does it take for converting from zcmd? it seems similar in syntax
also is there really a point with modern hardware in regards to it actually adding any performance?
|
The performance on any machine has never really been an issue besides with DCMD for example. No conversion is needed, just change the include from ZCMD to Pawn.CMD
Re: Pawn.CMD -
JeffersonIL - 28.04.2019
How can lock commands, I can lock commands y the command is processed, I have return 0, what will the problem?
Re: Pawn.CMD -
bgAndroid - 31.05.2020
SERVER: Unknown command. What's the problem?
[Pawn.CMD] PC_RegAlias: Command name 'mm' is occupied
[Pawn.CMD] PC_RegAlias: Command name 'r' is occupied
[Pawn.CMD] PC_RegAlias: Command name 'b' is occupied
[Pawn.CMD] PC_RegAlias: bad conversion
[Pawn.CMD] PC_RegAlias: bad conversion
Re: Pawn.CMD -
Chaprnks - 31.05.2020
Quote:
Originally Posted by YourShadow
No. Pawn.RakNet uses an outdated algorithm of caching.
|
I've been having a bizarre issue. Pawn.CMD 3.3.0 works perfectly on a linux host, but completely unusable on a windows host.
There are zero runtime logs in the server_log, but every command returns: (only on windows)
Code:
SERVER: Unknown command.
I've tried it with the pawncmd.cfg UseCaching true & UseCaching false.
Re: Pawn.CMD -
bgAndroid - 01.06.2020
My commands still do not work
UseCaching true & UseCaching false - did not help.
Re: Pawn.CMD -
YourShadow - 01.06.2020
Quote:
Originally Posted by bgAndroid
SERVER: Unknown command. What's the problem?
[Pawn.CMD] PC_RegAlias: Command name 'mm' is occupied
[Pawn.CMD] PC_RegAlias: Command name 'r' is occupied
[Pawn.CMD] PC_RegAlias: Command name 'b' is occupied
[Pawn.CMD] PC_RegAlias: bad conversion
[Pawn.CMD] PC_RegAlias: bad conversion
|
Can you post here full server_log.txt and example of your code with aliases?
Re: Pawn.CMD -
bgAndroid - 01.06.2020
PHP Code:
flags:resetb(FLAGS_ADMIN_COMMAND)
alias:resetb("b")
cmd:resetb(playerid, params[])
{
//
return 1;
}
PHP Code:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[16:50:22] filterscripts = "" (string)
[16:50:22]
[16:50:22] Server Plugins
[16:50:22] --------------
[16:50:22] Loading plugin: crashdetect
[16:50:22] CrashDetect plugin 4.19.4
[16:50:22] Loaded.
[16:50:22] Loading plugin: streamer
[16:50:22]
*** Streamer Plugin v2.9.4 by Incognito loaded ***
[16:50:22] Loaded.
[16:50:22] Loading plugin: sscanf
[16:50:22]
[16:50:22] ===============================
[16:50:22] sscanf plugin loaded.
[16:50:22] Version: 2.8.3
[16:50:22] (c) 2018 Alex "******" Cole
[16:50:22] ===============================
[16:50:22] Loaded.
[16:50:22] Loading plugin: mysql
[16:50:22] >> plugin.mysql: R41-4 successfully loaded.
[16:50:22] Loaded.
[16:50:22] Loading plugin: pawncmd
[16:50:22] [Pawn.CMD] plugin v3.3.0 by urShadow loaded
[16:50:22] Loaded.
[16:50:22] Loading plugin: pawnregex
[16:50:22] [Pawn.Regex] plugin v1.1.3 by urShadow loaded
[16:50:22] Loaded.
[16:50:22] Loading plugin: pawnraknet
[16:50:22] [Pawn.RakNet]
| Pawn.RakNet 1.4.0 | 2016 - 2020
|--------------------------------
| Author and maintainer: urShadow
| Compiled: May 3 2020 at 12:56:43
|--------------------------------------------------------------
| Forum thread: https://forum.sa-mp.com/showthread.php?t=640306
|--------------------------------------------------------------
| Repository: https://github.com/urShadow/Pawn.RakNet
|--------------------------------------------------------------
| Wiki: https://github.com/urShadow/Pawn.RakNet/wiki
[16:50:22] Loaded.
[16:50:22] Loading plugin: ColAndreas
[16:50:22] *********************
[16:50:22] ** Created By: **
[16:50:22] ** [uL]Chris42O **
[16:50:22] ** [uL]Slice **
[16:50:22] ** [uL]Pottus **
[16:50:22] *********************
[16:50:25] Loaded collision data.
[16:50:25] *********************
[16:50:25] ColAndreas Loaded
[16:50:25] v1.4.0
[16:50:25] *********************
[16:50:25] Loaded.
[16:50:25] Loaded 8 plugins.
[16:50:25]
[16:50:25] Filterscripts
[16:50:25] ---------------
[16:50:25] Loaded 0 filterscripts.
[16:50:25] [Pawn.CMD] PC_RegAlias: Command name 'mm' is occupied
[16:50:25] [Pawn.CMD] PC_RegAlias: Command name 'r' is occupied
[16:50:25] [Pawn.CMD] PC_RegAlias: Command name 'b' is occupied
[16:50:25] [Pawn.CMD] PC_RegAlias: bad conversion
[16:50:25] [Pawn.CMD] PC_RegAlias: bad conversion
[16:50:25] Loading Map.
[16:50:26] Loaded Map.
[16:50:26]
[16:50:26] Number of vehicle models: 42
Re: Pawn.CMD -
YourShadow - 01.06.2020
Quote:
Originally Posted by Chaprnks
I've been having a bizarre issue. Pawn.CMD 3.3.0 works perfectly on a linux host, but completely unusable on a windows host.
There are zero runtime logs in the server_log, but every command returns: (only on windows)
Code:
SERVER: Unknown command.
I've tried it with the pawncmd.cfg UseCaching true & UseCaching false.
|
Quote:
Originally Posted by bgAndroid
PHP Code:
flags:resetb(FLAGS_ADMIN_COMMAND)
alias:resetb("b")
cmd:resetb(playerid, params[])
{
//
return 1;
}
PHP Code:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[16:50:22] filterscripts = "" (string)
[16:50:22]
[16:50:22] Server Plugins
[16:50:22] --------------
[16:50:22] Loading plugin: crashdetect
[16:50:22] CrashDetect plugin 4.19.4
[16:50:22] Loaded.
[16:50:22] Loading plugin: streamer
[16:50:22]
*** Streamer Plugin v2.9.4 by Incognito loaded ***
[16:50:22] Loaded.
[16:50:22] Loading plugin: sscanf
[16:50:22]
[16:50:22] ===============================
[16:50:22] sscanf plugin loaded.
[16:50:22] Version: 2.8.3
[16:50:22] (c) 2018 Alex "******" Cole
[16:50:22] ===============================
[16:50:22] Loaded.
[16:50:22] Loading plugin: mysql
[16:50:22] >> plugin.mysql: R41-4 successfully loaded.
[16:50:22] Loaded.
[16:50:22] Loading plugin: pawncmd
[16:50:22] [Pawn.CMD] plugin v3.3.0 by urShadow loaded
[16:50:22] Loaded.
[16:50:22] Loading plugin: pawnregex
[16:50:22] [Pawn.Regex] plugin v1.1.3 by urShadow loaded
[16:50:22] Loaded.
[16:50:22] Loading plugin: pawnraknet
[16:50:22] [Pawn.RakNet]
| Pawn.RakNet 1.4.0 | 2016 - 2020
|--------------------------------
| Author and maintainer: urShadow
| Compiled: May 3 2020 at 12:56:43
|--------------------------------------------------------------
| Forum thread: https://forum.sa-mp.com/showthread.php?t=640306
|--------------------------------------------------------------
| Repository: https://github.com/urShadow/Pawn.RakNet
|--------------------------------------------------------------
| Wiki: https://github.com/urShadow/Pawn.RakNet/wiki
[16:50:22] Loaded.
[16:50:22] Loading plugin: ColAndreas
[16:50:22] *********************
[16:50:22] ** Created By: **
[16:50:22] ** [uL]Chris42O **
[16:50:22] ** [uL]Slice **
[16:50:22] ** [uL]Pottus **
[16:50:22] *********************
[16:50:25] Loaded collision data.
[16:50:25] *********************
[16:50:25] ColAndreas Loaded
[16:50:25] v1.4.0
[16:50:25] *********************
[16:50:25] Loaded.
[16:50:25] Loaded 8 plugins.
[16:50:25]
[16:50:25] Filterscripts
[16:50:25] ---------------
[16:50:25] Loaded 0 filterscripts.
[16:50:25] [Pawn.CMD] PC_RegAlias: Command name 'mm' is occupied
[16:50:25] [Pawn.CMD] PC_RegAlias: Command name 'r' is occupied
[16:50:25] [Pawn.CMD] PC_RegAlias: Command name 'b' is occupied
[16:50:25] [Pawn.CMD] PC_RegAlias: bad conversion
[16:50:25] [Pawn.CMD] PC_RegAlias: bad conversion
[16:50:25] Loading Map.
[16:50:26] Loaded Map.
[16:50:26]
[16:50:26] Number of vehicle models: 42
|
Try CaseInsensitivity=false or LocaleName="C".
And post here your pawncmd.cfg.
Re: Pawn.CMD -
bgAndroid - 01.06.2020
PHP Code:
#define FLAGS_CHAT_COMMAND 1
#define FLAGS_ADMIN_COMMAND 2
pawncmd.cfg - empty file
The above methods did not solve my problem.
Re: Pawn.CMD -
YourShadow - 01.06.2020
Quote:
Originally Posted by bgAndroid
PHP Code:
flags:resetb(FLAGS_ADMIN_COMMAND)
alias:resetb("b")
cmd:resetb(playerid, params[])
{
//
return 1;
}
PHP Code:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[16:50:22] filterscripts = "" (string)
[16:50:22]
[16:50:22] Server Plugins
[16:50:22] --------------
[16:50:22] Loading plugin: crashdetect
[16:50:22] CrashDetect plugin 4.19.4
[16:50:22] Loaded.
[16:50:22] Loading plugin: streamer
[16:50:22]
*** Streamer Plugin v2.9.4 by Incognito loaded ***
[16:50:22] Loaded.
[16:50:22] Loading plugin: sscanf
[16:50:22]
[16:50:22] ===============================
[16:50:22] sscanf plugin loaded.
[16:50:22] Version: 2.8.3
[16:50:22] (c) 2018 Alex "******" Cole
[16:50:22] ===============================
[16:50:22] Loaded.
[16:50:22] Loading plugin: mysql
[16:50:22] >> plugin.mysql: R41-4 successfully loaded.
[16:50:22] Loaded.
[16:50:22] Loading plugin: pawncmd
[16:50:22] [Pawn.CMD] plugin v3.3.0 by urShadow loaded
[16:50:22] Loaded.
[16:50:22] Loading plugin: pawnregex
[16:50:22] [Pawn.Regex] plugin v1.1.3 by urShadow loaded
[16:50:22] Loaded.
[16:50:22] Loading plugin: pawnraknet
[16:50:22] [Pawn.RakNet]
| Pawn.RakNet 1.4.0 | 2016 - 2020
|--------------------------------
| Author and maintainer: urShadow
| Compiled: May 3 2020 at 12:56:43
|--------------------------------------------------------------
| Forum thread: https://forum.sa-mp.com/showthread.php?t=640306
|--------------------------------------------------------------
| Repository: https://github.com/urShadow/Pawn.RakNet
|--------------------------------------------------------------
| Wiki: https://github.com/urShadow/Pawn.RakNet/wiki
[16:50:22] Loaded.
[16:50:22] Loading plugin: ColAndreas
[16:50:22] *********************
[16:50:22] ** Created By: **
[16:50:22] ** [uL]Chris42O **
[16:50:22] ** [uL]Slice **
[16:50:22] ** [uL]Pottus **
[16:50:22] *********************
[16:50:25] Loaded collision data.
[16:50:25] *********************
[16:50:25] ColAndreas Loaded
[16:50:25] v1.4.0
[16:50:25] *********************
[16:50:25] Loaded.
[16:50:25] Loaded 8 plugins.
[16:50:25]
[16:50:25] Filterscripts
[16:50:25] ---------------
[16:50:25] Loaded 0 filterscripts.
[16:50:25] [Pawn.CMD] PC_RegAlias: Command name 'mm' is occupied
[16:50:25] [Pawn.CMD] PC_RegAlias: Command name 'r' is occupied
[16:50:25] [Pawn.CMD] PC_RegAlias: Command name 'b' is occupied
[16:50:25] [Pawn.CMD] PC_RegAlias: bad conversion
[16:50:25] [Pawn.CMD] PC_RegAlias: bad conversion
[16:50:25] Loading Map.
[16:50:26] Loaded Map.
[16:50:26]
[16:50:26] Number of vehicle models: 42
|
Quote:
Originally Posted by bgAndroid
PHP Code:
#define FLAGS_CHAT_COMMAND 1
#define FLAGS_ADMIN_COMMAND 2
pawncmd.cfg - empty file
The above methods did not solve my problem.
|
Check PM.
Re: Pawn.CMD -
YourShadow - 02.06.2020
3.3.1:
3.3.2 (hotfix):
- Fixed UB (server crashing)
Re: Pawn.CMD -
Salik - 07.06.2020
pawn Code:
alias:cuff("cu"); //error 010: invalid function or declaration
CMD:cuff(playerid, params[])
{
//etc
return true;
}
What reason?
RU > (Что я вообще делаю не так? Вроде макрос alias должен работать стабильно).
Re: Pawn.CMD -
YourShadow - 07.06.2020
Quote:
Originally Posted by YourShadow
Semicolons at the end of alias and flags declarations not allowed now
|
This.
Re: Pawn.CMD -
David (Sabljak) - 07.06.2020
Since last update i have something like this in server_log, where should i look next?
Code:
[Pawn.CMD] ToLower: wstring_convert::from_bytes
Re: Pawn.CMD -
YourShadow - 08.06.2020
Quote:
Originally Posted by David (Sabljak)
Since last update i have something like this in server_log, where should i look next?
Code:
[Pawn.CMD] ToLower: wstring_convert::from_bytes
|
https://github.com/urShadow/Pawn.CMD/issues/23
Re: Pawn.CMD -
ShadowMortar - 08.06.2020
Awesome, I was just wondering, I've downloaded linux and windows files. Apparently, only linux contains the .inc, is that purposefully done or has the include been updated?
Re: Pawn.CMD -
David (Sabljak) - 08.06.2020
Quote:
Originally Posted by YourShadow
|
Thanks, will try.!
Re: Pawn.CMD -
Florin48 - 11.06.2020
https://prnt.sc/sxt9am
https://prnt.sc/sxta91
why does it appear like this from the new version?
Re: Pawn.CMD -
YourShadow - 11.06.2020
Quote:
Originally Posted by Florin48
|
https://forum.sa-mp.com/showpost.php...&postcount=481
Re: Pawn.CMD -
YourShadow - 11.06.2020
3.3.3:
- Fixed "bad conversion" error
- Updated samp-ptl to the latest version