SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 31/05/2020, 04:19 PM   #471
bgAndroid
Little Clucker
 
bgAndroid's Avatar
 
Join Date: Apr 2019
Posts: 12
Reputation: 0
Default Re: Pawn.CMD

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
__________________
Kalcor
1. Add https protocol
2. Fix the bug in SetObjectMaterialText when the transparency is set to materialcolor = 10FFFF00 (ARGB), but if you set "12 {ff0000}" the transparency disappears
3. Make saving the radio in the car, let's say the player turned it off, and re-entered the game, it will not play
4. Add parameters fontface and fontsize in Create3DTextLabel analog - (SetObjectMaterialText)
5. Add MoveTextDraw
6. Limit object - 2000
7. TogglePlayerHUD(playerid, component, bool:toggle); // component - 0 - Radar, 1 - Money, 2 - HealthBar, etc.
8. Return grass from gta sa in samp
bgAndroid is offline   Reply With Quote
Old 31/05/2020, 11:13 PM   #472
Chaprnks
Gangsta
 
Chaprnks's Avatar
 
Join Date: Sep 2007
Location: Soviet America
Posts: 598
Reputation: 69
Default Re: Pawn.CMD

Quote:
Originally Posted by YourShadow View Post
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.
__________________
Chaprnks is offline   Reply With Quote
Old 01/06/2020, 05:55 AM   #473
bgAndroid
Little Clucker
 
bgAndroid's Avatar
 
Join Date: Apr 2019
Posts: 12
Reputation: 0
Default Re: Pawn.CMD

My commands still do not work


UseCaching true & UseCaching false - did not help.
__________________
Kalcor
1. Add https protocol
2. Fix the bug in SetObjectMaterialText when the transparency is set to materialcolor = 10FFFF00 (ARGB), but if you set "12 {ff0000}" the transparency disappears
3. Make saving the radio in the car, let's say the player turned it off, and re-entered the game, it will not play
4. Add parameters fontface and fontsize in Create3DTextLabel analog - (SetObjectMaterialText)
5. Add MoveTextDraw
6. Limit object - 2000
7. TogglePlayerHUD(playerid, component, bool:toggle); // component - 0 - Radar, 1 - Money, 2 - HealthBar, etc.
8. Return grass from gta sa in samp
bgAndroid is offline   Reply With Quote
Old 01/06/2020, 08:41 AM   #474
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 141
Reputation: 265
Default Re: Pawn.CMD

Quote:
Originally Posted by bgAndroid View Post
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?
YourShadow is offline   Reply With Quote
Old 01/06/2020, 10:59 AM   #475
bgAndroid
Little Clucker
 
bgAndroid's Avatar
 
Join Date: Apr 2019
Posts: 12
Reputation: 0
Default Re: Pawn.CMD

PHP Code:
flags:resetb(FLAGS_ADMIN_COMMAND)
alias:resetb("b")
cmd:resetb(playeridparams[])
{
//
    
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:22filterscripts ""  (string)
[
16:50:22
[
16:50:22Server Plugins
[16:50:22] --------------
[
16:50:22]  Loading plugincrashdetect
[16:50:22]   CrashDetect plugin 4.19.4
[16:50:22]   Loaded.
[
16:50:22]  Loading pluginstreamer
[16:50:22

*** 
Streamer Plugin v2.9.4 by Incognito loaded ***

[
16:50:22]   Loaded.
[
16:50:22]  Loading pluginsscanf
[16:50:22

[
16:50:22]  ===============================

[
16:50:22]       sscanf plugin loaded.     

[
16:50:22]          Version:  2.8.3        

[16:50:22]   (c2018 Alex "******" Cole  

[16:50:22]  ===============================

[
16:50:22]   Loaded.
[
16:50:22]  Loading pluginmysql
[16:50:22]  >> plugin.mysqlR41-4 successfully loaded.
[
16:50:22]   Loaded.
[
16:50:22]  Loading pluginpawncmd
[16:50:22] [Pawn.CMDplugin v3.3.0 by urShadow loaded
[16:50:22]   Loaded.
[
16:50:22]  Loading pluginpawnregex
[16:50:22] [Pawn.Regexplugin v1.1.3 by urShadow loaded
[16:50:22]   Loaded.
[
16:50:22]  Loading pluginpawnraknet
[16:50:22] [Pawn.RakNet

    | 
Pawn.RakNet 1.4.0 2016 2020
    
|--------------------------------
    | 
Author and maintainerurShadow


    
CompiledMay  3 2020 at 12:56:43
    
|--------------------------------------------------------------
    | 
Forum threadhttps://forum.sa-mp.com/showthread.php?t=640306
    
|--------------------------------------------------------------
    | 
Repositoryhttps://github.com/urShadow/Pawn.RakNet
    
|--------------------------------------------------------------
    | 
Wikihttps://github.com/urShadow/Pawn.RakNet/wiki

[16:50:22]   Loaded.
[
16:50:22]  Loading pluginColAndreas
[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:25Loaded 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:25Filterscripts
[16:50:25] ---------------
[
16:50:25]   Loaded 0 filterscripts.

[
16:50:25] [Pawn.CMDPC_RegAliasCommand name 'mm' is occupied
[16:50:25] [Pawn.CMDPC_RegAliasCommand name 'r' is occupied
[16:50:25] [Pawn.CMDPC_RegAliasCommand name 'b' is occupied
[16:50:25] [Pawn.CMDPC_RegAliasbad conversion
[16:50:25] [Pawn.CMDPC_RegAliasbad conversion

[16:50:25Loading Map.
[
16:50:26Loaded Map.                             
[
16:50:26

[
16:50:26Number of vehicle models42 
__________________
Kalcor
1. Add https protocol
2. Fix the bug in SetObjectMaterialText when the transparency is set to materialcolor = 10FFFF00 (ARGB), but if you set "12 {ff0000}" the transparency disappears
3. Make saving the radio in the car, let's say the player turned it off, and re-entered the game, it will not play
4. Add parameters fontface and fontsize in Create3DTextLabel analog - (SetObjectMaterialText)
5. Add MoveTextDraw
6. Limit object - 2000
7. TogglePlayerHUD(playerid, component, bool:toggle); // component - 0 - Radar, 1 - Money, 2 - HealthBar, etc.
8. Return grass from gta sa in samp
bgAndroid is offline   Reply With Quote
Old 01/06/2020, 01:22 PM   #476
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 141
Reputation: 265
Default Re: Pawn.CMD

Quote:
Originally Posted by Chaprnks View Post
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 View Post
PHP Code:
flags:resetb(FLAGS_ADMIN_COMMAND)
alias:resetb("b")
cmd:resetb(playeridparams[])
{
//
    
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:22filterscripts ""  (string)
[
16:50:22
[
16:50:22Server Plugins
[16:50:22] --------------
[
16:50:22]  Loading plugincrashdetect
[16:50:22]   CrashDetect plugin 4.19.4
[16:50:22]   Loaded.
[
16:50:22]  Loading pluginstreamer
[16:50:22

*** 
Streamer Plugin v2.9.4 by Incognito loaded ***

[
16:50:22]   Loaded.
[
16:50:22]  Loading pluginsscanf
[16:50:22

[
16:50:22]  ===============================

[
16:50:22]       sscanf plugin loaded.     

[
16:50:22]          Version:  2.8.3        

[16:50:22]   (c2018 Alex "******" Cole  

[16:50:22]  ===============================

[
16:50:22]   Loaded.
[
16:50:22]  Loading pluginmysql
[16:50:22]  >> plugin.mysqlR41-4 successfully loaded.
[
16:50:22]   Loaded.
[
16:50:22]  Loading pluginpawncmd
[16:50:22] [Pawn.CMDplugin v3.3.0 by urShadow loaded
[16:50:22]   Loaded.
[
16:50:22]  Loading pluginpawnregex
[16:50:22] [Pawn.Regexplugin v1.1.3 by urShadow loaded
[16:50:22]   Loaded.
[
16:50:22]  Loading pluginpawnraknet
[16:50:22] [Pawn.RakNet

    | 
Pawn.RakNet 1.4.0 2016 2020
    
|--------------------------------
    | 
Author and maintainerurShadow


    
CompiledMay  3 2020 at 12:56:43
    
|--------------------------------------------------------------
    | 
Forum threadhttps://forum.sa-mp.com/showthread.php?t=640306
    
|--------------------------------------------------------------
    | 
Repositoryhttps://github.com/urShadow/Pawn.RakNet
    
|--------------------------------------------------------------
    | 
Wikihttps://github.com/urShadow/Pawn.RakNet/wiki

[16:50:22]   Loaded.
[
16:50:22]  Loading pluginColAndreas
[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:25Loaded 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:25Filterscripts
[16:50:25] ---------------
[
16:50:25]   Loaded 0 filterscripts.

[
16:50:25] [Pawn.CMDPC_RegAliasCommand name 'mm' is occupied
[16:50:25] [Pawn.CMDPC_RegAliasCommand name 'r' is occupied
[16:50:25] [Pawn.CMDPC_RegAliasCommand name 'b' is occupied
[16:50:25] [Pawn.CMDPC_RegAliasbad conversion
[16:50:25] [Pawn.CMDPC_RegAliasbad conversion

[16:50:25Loading Map.
[
16:50:26Loaded Map.                             
[
16:50:26

[
16:50:26Number of vehicle models42 
Try CaseInsensitivity=false or LocaleName="C".

And post here your pawncmd.cfg.

Last edited by YourShadow; 01/06/2020 at 02:07 PM.
YourShadow is offline   Reply With Quote
Old 01/06/2020, 02:35 PM   #477
bgAndroid
Little Clucker
 
bgAndroid's Avatar
 
Join Date: Apr 2019
Posts: 12
Reputation: 0
Default Re: Pawn.CMD

PHP Code:
#define FLAGS_CHAT_COMMAND 1
#define FLAGS_ADMIN_COMMAND 2 
pawncmd.cfg - empty file

The above methods did not solve my problem.
__________________
Kalcor
1. Add https protocol
2. Fix the bug in SetObjectMaterialText when the transparency is set to materialcolor = 10FFFF00 (ARGB), but if you set "12 {ff0000}" the transparency disappears
3. Make saving the radio in the car, let's say the player turned it off, and re-entered the game, it will not play
4. Add parameters fontface and fontsize in Create3DTextLabel analog - (SetObjectMaterialText)
5. Add MoveTextDraw
6. Limit object - 2000
7. TogglePlayerHUD(playerid, component, bool:toggle); // component - 0 - Radar, 1 - Money, 2 - HealthBar, etc.
8. Return grass from gta sa in samp
bgAndroid is offline   Reply With Quote
Old 01/06/2020, 03:28 PM   #478
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 141
Reputation: 265
Default Re: Pawn.CMD

Quote:
Originally Posted by bgAndroid View Post
PHP Code:
flags:resetb(FLAGS_ADMIN_COMMAND)
alias:resetb("b")
cmd:resetb(playeridparams[])
{
//
    
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:22filterscripts ""  (string)
[
16:50:22
[
16:50:22Server Plugins
[16:50:22] --------------
[
16:50:22]  Loading plugincrashdetect
[16:50:22]   CrashDetect plugin 4.19.4
[16:50:22]   Loaded.
[
16:50:22]  Loading pluginstreamer
[16:50:22

*** 
Streamer Plugin v2.9.4 by Incognito loaded ***

[
16:50:22]   Loaded.
[
16:50:22]  Loading pluginsscanf
[16:50:22

[
16:50:22]  ===============================

[
16:50:22]       sscanf plugin loaded.     

[
16:50:22]          Version:  2.8.3        

[16:50:22]   (c2018 Alex "******" Cole  

[16:50:22]  ===============================

[
16:50:22]   Loaded.
[
16:50:22]  Loading pluginmysql
[16:50:22]  >> plugin.mysqlR41-4 successfully loaded.
[
16:50:22]   Loaded.
[
16:50:22]  Loading pluginpawncmd
[16:50:22] [Pawn.CMDplugin v3.3.0 by urShadow loaded
[16:50:22]   Loaded.
[
16:50:22]  Loading pluginpawnregex
[16:50:22] [Pawn.Regexplugin v1.1.3 by urShadow loaded
[16:50:22]   Loaded.
[
16:50:22]  Loading pluginpawnraknet
[16:50:22] [Pawn.RakNet

    | 
Pawn.RakNet 1.4.0 2016 2020
    
|--------------------------------
    | 
Author and maintainerurShadow


    
CompiledMay  3 2020 at 12:56:43
    
|--------------------------------------------------------------
    | 
Forum threadhttps://forum.sa-mp.com/showthread.php?t=640306
    
|--------------------------------------------------------------
    | 
Repositoryhttps://github.com/urShadow/Pawn.RakNet
    
|--------------------------------------------------------------
    | 
Wikihttps://github.com/urShadow/Pawn.RakNet/wiki

[16:50:22]   Loaded.
[
16:50:22]  Loading pluginColAndreas
[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:25Loaded 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:25Filterscripts
[16:50:25] ---------------
[
16:50:25]   Loaded 0 filterscripts.

[
16:50:25] [Pawn.CMDPC_RegAliasCommand name 'mm' is occupied
[16:50:25] [Pawn.CMDPC_RegAliasCommand name 'r' is occupied
[16:50:25] [Pawn.CMDPC_RegAliasCommand name 'b' is occupied
[16:50:25] [Pawn.CMDPC_RegAliasbad conversion
[16:50:25] [Pawn.CMDPC_RegAliasbad conversion

[16:50:25Loading Map.
[
16:50:26Loaded Map.                             
[
16:50:26

[
16:50:26Number of vehicle models42 
Quote:
Originally Posted by bgAndroid View Post
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.
YourShadow is offline   Reply With Quote
Old 02/06/2020, 08:23 AM   #479
YourShadow
Big Clucker
 
YourShadow's Avatar
 
Join Date: Apr 2016
Posts: 141
Reputation: 265
Default Re: Pawn.CMD

3.3.1:
  • Fixed Windows issues

3.3.2 (hotfix):
  • Fixed UB (server crashing)

Last edited by YourShadow; 02/06/2020 at 01:42 PM.
YourShadow is offline   Reply With Quote
Old 07/06/2020, 07:25 AM   #480
Salik
Big Clucker
 
Salik's Avatar
 
Join Date: Aug 2015
Location: Russia
Posts: 77
Reputation: 0
Default Re: Pawn.CMD

pawn Code:
alias:cuff("cu"); //error 010: invalid function or declaration
CMD:cuff(playerid, params[])
{
   //etc
   return true;
}

What reason?

RU > (Что я вообще делаю не так? Вроде макрос alias должен работать стабильно).
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] Vectoral Pawn - STL Data containers for pawn Rancho Plugin Development 69 25/03/2019 11:50 PM
Forum bug with [pawn][/pawn] BBCODE Yuripe Everything and Nothing 4 06/10/2012 12:58 PM
[Tool/Web/Other] PAWN Scanner - Scan PAWN files for information. Slice Tools and Files 10 15/07/2012 07:09 PM
[Help With Pawn] Pawn and compiler is not working..... D_Less Client Support 3 09/03/2012 04:49 AM


All times are GMT. The time now is 05:41 PM.


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