skotlex
|
81b4f30221
- Applied Rayce's dangling pointer fix when returning a temporary npc string variable (those starting with .@)
|
18 anos atrás |
FlavioJS
|
781fa7bb72
- A bit more work on Ticket #41.
|
18 anos atrás |
FlavioJS
|
79fd4cb7be
- Ups @ last commit. This time the changes in the buildin_func array are automatic, so there should be no more errors due to erroneous manual checking.
|
18 anos atrás |
FlavioJS
|
1041f38037
* Cosmetic changes to the buildin section of script.c (use defines for function names/definitions).
|
18 anos atrás |
FlavioJS
|
c46f3cf135
- Removed deprecated console code.
|
18 anos atrás |
ultramage
|
6bf7170064
Cleaned up the script engine's get_val() function
|
18 anos atrás |
ultramage
|
c5450173b1
Undid revision r9792 (npcshopattach)
|
18 anos atrás |
ultramage
|
ed7e98e9d3
Applied Dj-Yhn's fix to 'npcshopattach'
|
18 anos atrás |
FlavioJS
|
f652311f37
- Continuing the checking of script buildin functions and stop the script execution when an attached player is required but not found.
|
18 anos atrás |
ultramage
|
12a784cf17
Changed the 'getpartyleader' script command so that it returns a map name instead of the useless mapindex number.
|
18 anos atrás |
skotlex
|
a23da55db8
- Fixed the flag parameter not working on npcshopattach
|
18 anos atrás |
skotlex
|
2a5ec09a11
- The define MESSAGE_SIZE was wrong! It is only used for input boxes. Therefore now it is only used for Vending, Talkie box and Graffiti
|
18 anos atrás |
skotlex
|
4130bdd3b8
- Cleaned up the npcshop(add/del) item script commands, fixed a possible dangling pointer crash caused by their improper use of realloc. They no longer automatically attach the script to the shop, and they will return true/false based on whether the shop was found or not.
|
18 anos atrás |
DracoRPG
|
bf98b03fb0
Removed useless read-from-GRF features
|
18 anos atrás |
skotlex
|
f904054ce8
- Improved a bit the menu entries counting code (using a while with strchr should yield better performance that a for done on the string's strlen, right? However, it bugs me that strchr's man-page says it won't work on multi-byte characters. But does a strchr(str,':') works any worse than (str[i]== ':')?
|
18 anos atrás |
skotlex
|
81a9313a9d
- Removed sd->max_menu, sd->npc_menu is now reused to store what is the max number of valid entries and prevent clients from picking invalid options.
|
18 anos atrás |
FlavioJS
|
5117e39fac
- Fixed while statements not "reserving" the curly before parsing the test expression.
|
18 anos atrás |
skotlex
|
3838afbf52
- Fixed the label dup code, it now works correctly with const.txt switch labels.
|
18 anos atrás |
skotlex
|
9d049827d7
- Reverted the dup-label check code since it has a bug that needs to be fixed first (it fails to recognize const.txt values)
|
18 anos atrás |
skotlex
|
3b1e03537d
- Merged Rayce's cleanups of the script engine that account for duplicate labels, non-numeric labels and makes the engine case-insensitive towards keywords like if/case/switch/etc/
|
18 anos atrás |
FlavioJS
|
8d7a0bd454
- Fixed the script engine not parsing strings in multibyte charsets correctly (should have been done in r9532).
|
18 anos atrás |
FlavioJS
|
aa371b3af3
- Fixed the define script_lastdata, introduced by me at r9637 (had the wrong sign)
|
18 anos atrás |
FlavioJS
|
4b78fc3c9f
- Changes to script buildin functions:
|
18 anos atrás |
ultramage
|
b0aa97039b
Unimportant cleanups
|
18 anos atrás |
FlavioJS
|
da5d22b67f
- Fixed the sleep timers not being removed when the an npc was being unloaded and when reloading scripts.
|
18 anos atrás |
ultramage
|
fbe23f27a2
Undid the memset->malloc_set replacement
|
18 anos atrás |
ultramage
|
9f164c312b
- re-added the duplicit nj/gs name messages in msg_athena
|
18 anos atrás |
FlavioJS
|
0cf60d9ca1
- Updated getitem and guardian entries in script_commands.txt.
|
18 anos atrás |
FlavioJS
|
f863581174
- Part 3 of TheUltraMage's socket cleanup.
|
18 anos atrás |
skotlex
|
74e263086a
- Applied Rayce's suggestion to improve the script hash size usage. eA now uses a hash of 1024.
|
18 anos atrás |