Historie revizí

Autor SHA1 Zpráva Datum
  ultramage 4ca0b15de3 EOL-styled some more files před 18 roky
  Lupus 7beec2d152 added setiteminfo function, updated setitemscript func, added NPC sample for them před 18 roky
  skotlex 155552d89f - Fixed the definition of warpwaitingpc so that it allows an optional argument (number of people to warp). před 18 roky
  FlavioJS d6b5fe4b78 - infinite loop pwned me x.x před 18 roky
  FlavioJS 8f8fca4481 - Fixed a compiler warning in char_sql\login.c před 18 roky
  ultramage 32618b7ddd Corrected some typos and small details před 18 roky
  FlavioJS 8723e53a06 - Minor cleanup/documentation on the script engine. před 18 roky
  skotlex cf8685131d - Minor cleanups před 18 roky
  skotlex 5ed686f6a8 - Updated the Dancer job quest to attach a player to the main timer script. před 18 roky
  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. před 18 roky
  ultramage d47a72bf9f Cleaned up set_reg and the surrounding code před 18 roky
  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. před 18 roky
  skotlex 81b4f30221 - Applied Rayce's dangling pointer fix when returning a temporary npc string variable (those starting with .@) před 18 roky
  FlavioJS 781fa7bb72 - A bit more work on Ticket #41. před 18 roky
  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. před 18 roky
  FlavioJS 1041f38037 * Cosmetic changes to the buildin section of script.c (use defines for function names/definitions). před 18 roky
  FlavioJS c46f3cf135 - Removed deprecated console code. před 18 roky
  ultramage 6bf7170064 Cleaned up the script engine's get_val() function před 18 roky
  ultramage c5450173b1 Undid revision r9792 (npcshopattach) před 18 roky
  ultramage ed7e98e9d3 Applied Dj-Yhn's fix to 'npcshopattach' před 18 roky
  FlavioJS f652311f37 - Continuing the checking of script buildin functions and stop the script execution when an attached player is required but not found. před 18 roky
  ultramage 12a784cf17 Changed the 'getpartyleader' script command so that it returns a map name instead of the useless mapindex number. před 18 roky
  skotlex a23da55db8 - Fixed the flag parameter not working on npcshopattach před 18 roky
  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 před 18 roky
  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. před 18 roky
  DracoRPG bf98b03fb0 Removed useless read-from-GRF features před 18 roky
  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]== ':')? před 18 roky
  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. před 18 roky
  FlavioJS 5117e39fac - Fixed while statements not "reserving" the curly before parsing the test expression. před 18 roky
  skotlex 3838afbf52 - Fixed the label dup code, it now works correctly with const.txt switch labels. před 18 roky