ultramage
|
4ca0b15de3
EOL-styled some more files
|
18 years ago |
Lupus
|
7beec2d152
added setiteminfo function, updated setitemscript func, added NPC sample for them
|
18 years ago |
skotlex
|
155552d89f
- Fixed the definition of warpwaitingpc so that it allows an optional argument (number of people to warp).
|
18 years ago |
FlavioJS
|
d6b5fe4b78
- infinite loop pwned me x.x
|
18 years ago |
FlavioJS
|
8f8fca4481
- Fixed a compiler warning in char_sql\login.c
|
18 years ago |
ultramage
|
32618b7ddd
Corrected some typos and small details
|
18 years ago |
FlavioJS
|
8723e53a06
- Minor cleanup/documentation on the script engine.
|
18 years ago |
skotlex
|
cf8685131d
- Minor cleanups
|
18 years ago |
skotlex
|
5ed686f6a8
- Updated the Dancer job quest to attach a player to the main timer script.
|
18 years ago |
skotlex
|
dddd48f15d
- Modified the "guardian" spawn script command, it no longer receives a "amount" argument (since that only leads to trouble), if the class is negative, it'll pick a random class the same way the monster spawn script command does, and if you pass a spawn position with coordinates equal or less to 0, a random spot in the map will be taken. However you can't use "this" as a map name anymore since these script commands do not need an attached player.
|
18 years ago |
ultramage
|
d47a72bf9f
Cleaned up set_reg and the surrounding code
|
18 years ago |
skotlex
|
dabaf379a9
- The default packet version is now 8. Clients from November2006 and before can no longer get past the char-server unless you change it back to 7.
|
18 years ago |
skotlex
|
81b4f30221
- Applied Rayce's dangling pointer fix when returning a temporary npc string variable (those starting with .@)
|
18 years ago |
FlavioJS
|
781fa7bb72
- A bit more work on Ticket #41.
|
18 years ago |
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 years ago |
FlavioJS
|
1041f38037
* Cosmetic changes to the buildin section of script.c (use defines for function names/definitions).
|
18 years ago |
FlavioJS
|
c46f3cf135
- Removed deprecated console code.
|
18 years ago |
ultramage
|
6bf7170064
Cleaned up the script engine's get_val() function
|
18 years ago |
ultramage
|
c5450173b1
Undid revision r9792 (npcshopattach)
|
18 years ago |
ultramage
|
ed7e98e9d3
Applied Dj-Yhn's fix to 'npcshopattach'
|
18 years ago |
FlavioJS
|
f652311f37
- Continuing the checking of script buildin functions and stop the script execution when an attached player is required but not found.
|
18 years ago |
ultramage
|
12a784cf17
Changed the 'getpartyleader' script command so that it returns a map name instead of the useless mapindex number.
|
18 years ago |
skotlex
|
a23da55db8
- Fixed the flag parameter not working on npcshopattach
|
18 years ago |
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 years ago |
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 years ago |
DracoRPG
|
bf98b03fb0
Removed useless read-from-GRF features
|
18 years ago |
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 years ago |
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 years ago |
FlavioJS
|
5117e39fac
- Fixed while statements not "reserving" the curly before parsing the test expression.
|
18 years ago |
skotlex
|
3838afbf52
- Fixed the label dup code, it now works correctly with const.txt switch labels.
|
18 years ago |