Commit graph

21 commits

Author SHA1 Message Date
Haru
59ff49cfbb
Replace the magic numbers in gettimetick() calls with the appropriate constants
Signed-off-by: Haru <haru@dotalux.com>
2023-08-12 23:56:42 +02:00
Haru
044583c523 Make the WARPNPC scripted warps consistent with real warps
- Wherever OnTouch_ was used in a WARPNPC, it's been changed to OnTouch
  to prevent serialization abuse (OnTouch_ is serialized, meaning that
  i.e. when a dialogue is displayed, the touch event won't trigger for
  other characters until the first one confirms and exits the dialogue)
- A check for hidden/cloaked status has been added, to match the
  behavior of normal, non-scripted, warps.

Signed-off-by: Haru <haru@dotalux.com>
2021-10-31 15:17:00 +01:00
gumi
610ae47b9d
remove specialeffect2 from npcs 2017-06-03 12:57:26 -04:00
Asheraf
062f2cf423 Change *getcharid to use constants 2016-10-16 12:51:22 +01:00
Asheraf
0f1d0507eb change *strcharinfo to use constants 2016-09-02 04:56:00 +02:00
Haru
b4c99db7d5 Replaced leftover -1 view IDs with FAKE_NPC
Signed-off-by: Haru <haru@dotalux.com>
2015-12-31 23:39:23 +01:00
Dastgir
6133612d36 ItemID to Constant: custom Folder 2015-12-18 05:13:34 +01:00
Haru
367c806bcc Standardized script-queue related commands
- The commands queueadd, queueremove, queueopt, queuedel and qiclear
  now all return true (success) or false (failure). - Taken/extended
  from AnnieRuru's PR #847.
- The constants HQO_OnDeath, HQO_OnLogOut, HQO_OnMapChange were renamed
  to QUEUEOPT_DEATH, QUEUEOPT_LOGOUT, QUEUEOPT_MAPCHANGE respectively.
- The name of the variable @QMapChangeTo$ used during the
  QUEUEOPT_MAPCHANGE event has been renamed to @Queue_Destination_Map$.

Signed-off-by: Haru <haru@dotalux.com>
2015-11-14 21:11:42 +01:00
Haru
1aea178ef7 More aggressive whitespace cleanup. Follow up to 51329e6
Signed-off-by: Haru <haru@dotalux.com>
2015-09-25 12:55:36 +02:00
Haru
32169c383f Removed use of 'checkquest' from scripts (common folder)
Signed-off-by: Haru <haru@dotalux.com>
2014-10-28 00:27:54 +01:00
Haru
c03094034f Removed trailing whitespace (scripts)
Signed-off-by: Haru <haru@dotalux.com>
2014-05-13 18:15:14 +02:00
Haru
b1f4be7a4c Fixed some case mismatches in the Flavius bgqueue test script
Signed-off-by: Haru <haru@dotalux.com>
2013-11-30 18:43:32 +01:00
Haru
b4f1b3b5c5 Follow-up to 857bdc4f98
- Consolidated case in variables, labels, constants.

Signed-off-by: Haru <haru@dotalux.com>
2013-11-10 04:31:28 +01:00
shennetsind
3a3d229706 Follow up eaf04b9a2f
Adjustments to the team-splitting algorithm
Thanks to Haruna!

Signed-off-by: shennetsind <ind@henn.et>
2013-11-06 21:18:12 -02:00
shennetsind
eaf04b9a2f BG Queue Update
Enabled Party/Guild joining methods, Implements first attempt at the splitting algorithm (Thanks to  jaBote!)
Checks item 1 on issue #69
Help us test! -- http://hercules.ws/board/topic/1302-bg-queue-debug/

Signed-off-by: shennetsind <ind@henn.et>
2013-11-06 21:10:05 -02:00
Kisuka
124ab2a1cd Added ability to use constants instead of sprite IDs for NPCs. Converted all npcs to use this. 2013-10-28 00:42:23 -07:00
Michieru
e3afdc2af4 Update to last rAthena npc.
Fix some typos
change sc_bleeding to -> sc_blooding
Updated RE EXP for quests_brasilis.txt
2013-10-24 12:10:43 +02:00
shennetsind
7aa9e6e8b1 BG Queue Fixes
Cleared 3 out of 5, #69
Support for the cancel button, for pre-game position to return afterwards and fix to the queue position problem after first game.

Signed-off-by: shennetsind <ind@henn.et>
2013-07-29 18:14:24 -03:00
shennetsind
449a41af45 DB Queue Debug Update
Some documentation update on battlegrounds.conf
Fixed Hercules Queue Option constants, they're 1-2-3 not 0-1-2.
Some Bugfixes to the test script, special thanks to ossi0110
http://hercules.ws/board/topic/1302-bg-queue-debug

Signed-off-by: shennetsind <ind@henn.et>
2013-07-05 22:27:33 -03:00
shennetsind
ef6b3eeec8 Follow up 918b112396
Just dropping a couple debug messages that shouldn't have gone live into the test script

Signed-off-by: shennetsind <ind@henn.et>
2013-06-30 16:23:48 -03:00
shennetsind
918b112396 BG Queue Testing
http://hercules.ws/board/topic/1302-bg-queue-debug/
Signed-off-by: shennetsind <ind@henn.et>
2013-06-28 18:45:38 -03:00