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 년 전 |
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 년 전 |
DracoRPG
|
bf98b03fb0
Removed useless read-from-GRF features
|
18 년 전 |
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 년 전 |
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 년 전 |
FlavioJS
|
5117e39fac
- Fixed while statements not "reserving" the curly before parsing the test expression.
|
18 년 전 |
skotlex
|
3838afbf52
- Fixed the label dup code, it now works correctly with const.txt switch labels.
|
18 년 전 |
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 년 전 |
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 년 전 |
FlavioJS
|
8d7a0bd454
- Fixed the script engine not parsing strings in multibyte charsets correctly (should have been done in r9532).
|
18 년 전 |
FlavioJS
|
aa371b3af3
- Fixed the define script_lastdata, introduced by me at r9637 (had the wrong sign)
|
18 년 전 |
FlavioJS
|
4b78fc3c9f
- Changes to script buildin functions:
|
18 년 전 |
ultramage
|
b0aa97039b
Unimportant cleanups
|
18 년 전 |
FlavioJS
|
da5d22b67f
- Fixed the sleep timers not being removed when the an npc was being unloaded and when reloading scripts.
|
18 년 전 |
ultramage
|
fbe23f27a2
Undid the memset->malloc_set replacement
|
18 년 전 |
ultramage
|
9f164c312b
- re-added the duplicit nj/gs name messages in msg_athena
|
18 년 전 |
FlavioJS
|
0cf60d9ca1
- Updated getitem and guardian entries in script_commands.txt.
|
18 년 전 |
FlavioJS
|
f863581174
- Part 3 of TheUltraMage's socket cleanup.
|
18 년 전 |
skotlex
|
74e263086a
- Applied Rayce's suggestion to improve the script hash size usage. eA now uses a hash of 1024.
|
18 년 전 |
skotlex
|
58bb9be68a
- Cleaned up some more the code so it works for -DTURBO
|
18 년 전 |
FlavioJS
|
dd92bd13fd
- a couple of warnings fixed
|
18 년 전 |
FlavioJS
|
8751fbd631
- Fixed buildin_getscrate, thanks Trancid.
|
18 년 전 |
FlavioJS
|
266f66cfff
- Applied the rest of Rayce's suggestions and fixes (http://www.eathena.ws/board/index.php?showtopic=129185)
|
18 년 전 |
FlavioJS
|
11cb7227b2
- Fallback for parenthesis argument lists in the script engine. "func (exp) , ..." is valid again.
|
18 년 전 |
FlavioJS
|
52245f90b9
- Moved "#include <limits.h>" to cbasetypes.h to ensure it's included before checking if UINT_MAX has been defined.
|
18 년 전 |
skotlex
|
fa1c4b2e47
- Simplified the global function "getJobName"
|
18 년 전 |
FlavioJS
|
e75a8eca56
- Change strncpy to memcpy when parsing switches in the script engine since it's guaranteed to be a word of that size (skip_word).
|
18 년 전 |
skotlex
|
6e0309bb2c
- Applied Rayce's suggestions and fixes to the script engine (http://www.eathena.ws/board/index.php?showtopic=129185)
|
18 년 전 |
skotlex
|
39a8fa2eb6
- Changed a certain snprintf to strncpy, you really really really REALLY shouldn't use snprintf with a format argument that may contain unpredictable string sequences!
|
18 년 전 |
FlavioJS
|
45036c5c06
- readded the >=0x81 equivalent until I figure out where the script engine is 'being naughty' O.o
|
18 년 전 |