|
|
#1321 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,235
Reputation: 1900
|
Can I see your "enum" declaration and the data printed by "query %s" please?
|
|
|
|
|
|
#1322 |
|
Big Clucker
![]() ![]() Join Date: Sep 2011
Location: Portugal
Posts: 79
Reputation: 3
|
Sure wait a seconds
|
|
|
|
|
|
#1323 | ||
|
Big Clucker
![]() ![]() Join Date: Sep 2011
Location: Portugal
Posts: 79
Reputation: 3
|
pawn Code:
Quote:
Quote:
|
||
|
|
|
|
|
#1324 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,235
Reputation: 1900
|
Have you redefined "MAX_PLAYER_NAME" as 150? If so that's silly, if not why have you set that variable to 150 in sscanf? The definitions must match EXACTLY.
Also, "p" should really come BEFORE "e" in the sscanf definition. |
|
|
|
|
|
#1325 |
|
Big Clucker
![]() ![]() Join Date: Sep 2011
Location: Portugal
Posts: 79
Reputation: 3
|
Good point i really did not know the the max length of a player name lol and the delimiter must be before the enumeration or it wont delimit and bug my script. Thanks
|
|
|
|
|
|
#1326 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Mar 2009
Location: United Kingdom
Posts: 1,491
Reputation: 123
|
Y less, could a new version of sscanf be released as the 'u' parameter does not work in 0.3d. I know its not had a final release yet, but how are we suppost to script if not all of the parameters are working to test the new features.
Thanks |
|
|
|
|
|
#1327 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,235
Reputation: 1900
|
The problem with non-final releases is that they change frequently, which makes keeping up to date hard. Why not just script other parts till then?
|
|
|
|
|
|
#1328 |
|
Guest
Posts: n/a
|
Just use "d" in the meantime.
|
|
|
|
#1329 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Mar 2009
Location: United Kingdom
Posts: 1,491
Reputation: 123
|
Yes, I agree, but it's hard to check features where you need to get money and cannot use the U parameter or teleporting etc. I've switched to d in the meantime.
|
|
|
|
|
|
#1330 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,235
Reputation: 1900
|
You update it then! It is, as I keep saying, open source!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Macros (?) for enums/arrays | MP2 | Scripting Help | 16 | 17/01/2012 07:37 PM |
| Enums - string arrays | SuperViper | Scripting Help | 3 | 31/10/2011 10:00 AM |
| Arrays and enums... | [MWR]Blood | Scripting Help | 9 | 23/09/2011 11:29 AM |
| Enums and Arrays | Th3Angel | Help Archive | 6 | 14/02/2011 11:46 PM |