Jump to content

Hale

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by Hale

  1. I did that now and I was like thank god the blue cowboy hat is now gone. But the problem now is it doesn't display anything. Any idea? please see the image below. Here's my item_db.txt in my server. 50011,Half_Angel_Wings,Half Angel Wings,5,5,0,10,,5,,1,0xFFFFFFFF,7,2,1,,1,1,1772,{},{},{} Here's the end part accessoryid.lub from my server.grf ACCESSORY_Mini_Melon = 1758, ACCESSORY_Striking_hat = 1759, ACCESSORY_Floating_Ball = 1760, ACCESSORY_Protect_cloth = 1761, ACCESSORY_C_JP_EV15 = 1762, ACCESSORY_Pop_Popcorn_Hat = 1763, ACCESSORY_Slurp_Slurp_Hat = 1764, ACCESSORY_Surpentarius_Crown_J = 1765, ACCESSORY_C_Lunch_box = 1766, ACCESSORY_Exa_Goat_Cap = 1768, ACCESSORY_C_Happy_Rabbit_Ribbon = 1769, ACCESSORY_C_Lovely_Heart_Cap = 1770, ACCESSORY_C_Warm_Cat_Muffler_BL = 1771, ACCESSORY_YIN_YANG_VOODOO_WINGS = 1772 }
  2. Hello guys! I've done everything on what's been instructed in the instructions from: https://github.com/rathena/rathena/wiki/Custom-Items The fact that there's no sprite error or anything else.. But the appearance is not what it seem I want to. Can you help? Thanks! In the image below, I have a Half Angel Wings that should look like black and white wings. But when I equipped it, it turns to be a blue cowboy hat. All of my new added custom items are like that. Thanks guys!
  3. Hello rAthena! I don't know why but only accounts with group ID of 99 can use the @gstorage, other groups cannot especially for normal players. I already placed @gstorage at conf/groups.conf and still not working. Kindly please help me, Thanks! groups: ( { id: 0 /* group 0 is the default group for every new account */ name: "Player" level: 0 inherit: ( /*empty list*/ ) commands: { refresh: true alootid: true autoloot: true autoloottype: true request: true go: true warp: true mobinfo: true iteminfo: true whodrops: true time: true jailtime: true allskill: true commands: true storage: true hominfo: true homstats: true whereis: true who: true homlevel: true duel: true glvl: true gstorage: true changegm: true } permissions: { /* without this basic permissions regular players could not trade or party */ can_trade: true can_party: true attendance: true } },
  4. Hello guys! My client is crashing when warping to gefenia01. Can you kindly help me? What I've done is I downloaded the 06-29-2017 kRO Client, data.grf from ratemyserver. I copied the gefenia .gat .gnd .rsw into my current data.grf and repacked it. Nothing happened. Below is the crash log. Ragnarok has been crashed! UTC Time: 11/03/2020 09:33:08 Local Time: 11/03/2020 17:33:08 EXE version: 2015-11-02 Gepard version: 2020021901 OS version: Windows 8.1 0x0089810b HaleRO.exe 0x0088beea HaleRO.exe 0x0065a264 HaleRO.exe 0x009925c6 HaleRO.exe 0x00994027 HaleRO.exe 0x7778b8da ntdll.dll 0xffffffffffffffff ---------- 0x7777071a ntdll.dll EAX: 0x00000000 | 0000000000 ECX: 0x18e9b008 | 0417968136 EDX: 0x15b46d68 | 0364146024 EBX: 0x220519b8 | 0570759608 ESI: 0x220519b8 | 0570759608 EDI: 0x22051a20 | 0570759712 ESP: 0x0018f948 | 0001636680 EBP: 0x0018f958 | 0001636696 EIP: 0x0089810b | 0009011467 DR0: 0x00000000 | 0000000000 DR1: 0x00000000 | 0000000000 DR2: 0x00000000 | 0000000000 DR3: 0x00000000 | 0000000000 DR6: 0x00000000 | 0000000000 DR7: 0x00000000 | 0000000000 ============================================================================= RST: 0 SST: 0 CST: 0 TCI: 1 TL1: 0 TL2: 53196 TL3: 0 =================================== Stack =================================== 0018f948: 88 e2 ff 18 b8 19 05 22 de a1 9f 00 ff ff ff ff " 0018f958: b8 fa 18 00 ea be 88 00 67 f8 05 8d d8 4d bc 00 g M 0018f968: a8 4d bc 00 b0 4d bc 00 b8 19 05 22 20 1a 05 22 M M " " 0018f978: 38 91 4c 16 65 00 00 00 18 56 f4 19 02 00 00 00 8 L e V 0018f988: 20 00 00 00 2f 00 00 00 00 00 00 00 30 00 00 00 / 0 0018f998: 20 fa 18 00 e9 15 77 77 1c 00 00 00 00 00 00 00 ww 0018f9a8: b8 19 05 22 1c 00 00 00 b0 4d bc 00 02 00 00 00 " M 0018f9b8: 10 e2 ff 18 02 00 00 00 05 00 00 00 18 00 00 00 0018f9c8: 00 00 00 00 28 00 00 00 bc 1f 05 22 18 56 f4 19 ( " V 0018f9d8: 09 00 00 00 a0 d6 7c 77 0f 05 00 00 c0 00 ce 19 |w 0018f9e8: 64 00 00 00 00 00 00 00 00 00 00 00 a0 b5 d7 19 d 0018f9f8: 21 07 0f 05 bc 1f 05 22 18 00 00 00 bc 1f 05 22 ! " " 0018fa08: 21 19 41 00 18 56 f4 19 24 fa 18 00 c2 dc 5c 70 ! A V $ \p 0018fa18: 00 00 28 00 00 00 00 00 b0 58 d8 19 54 fa 18 00 ( X T 0018fa28: 62 28 41 00 b0 58 d8 19 8b f8 05 8d 90 fa 18 00 b(A X 0018fa38: bc 1f 05 22 b0 4d bc 00 18 56 f4 19 30 fa 18 00 " M V 0 0018fa48: 70 fa 18 00 f0 82 9a 00 ff ff ff ff 7c fa 18 00 p | 0018fa58: 13 aa 4a 00 06 00 00 00 a3 f8 05 8d b8 19 05 22 J " 0018fa68: bc 1f 05 22 38 56 f4 19 b0 fa 18 00 32 18 9c 00 "8V 2 0018fa78: ff ff ff ff 94 fa 18 00 f8 e7 8b 00 38 56 f4 19 8V 0018fa88: b8 19 05 22 ac 1b 05 22 7b 03 00 00 bc fa 18 00 " "{ 0018fa98: ea c0 87 00 63 f8 05 8d d8 4d bc 00 a8 4d bc 00 c M M 0018faa8: 67 f8 05 8d d4 fa 18 00 f6 ec a2 00 03 00 00 00 g 0018fab8: e0 fa 18 00 64 a2 65 00 b0 4d bc 00 3f f8 05 8d d e M ? 0018fac8: f0 88 6a 76 01 00 00 00 80 89 6a 76 50 ff 18 00 jv jvP INIT: 15 : 14 : 0 VSYNC: 1 LL/LLD: 54/72 FM: 29142c TM: 3e3570 PMU: 49be8 CMU: 46444 ============================================================================= Loaded GRFs: [0] gepard.grf [1] server.grf [2] rdata.grf [3] data.grf [4] newprontera.grf [5] palette.grf ============================================================================= Network packet's statistic: s_bytes: 761 bytes r_bytes: 24 Kbytes s_packets ->: 41 r_packets <-: 493 00# <- 8e000c005761727065642e00 [4609 ms] 01# <- 9100676566656e696130312e67617400000006018800 [4609 ms] 02# -> f30024004261627920426c75652048616c65203a20407761727020676566656e69613031 [4734 ms] 03# <- 8000d7841e0000 [8250 ms] 04# <- 80006d0c9a0600 [8375 ms] 05# <- ff095e0006350d9a0600000000c80000000000000000001b030000000000000000000000000000000000000000000000000000000000000000000026897400000000000000ffffffffffffffff0000004469736775697365204576656e74 [8484 ms] 06# <- ff09580006570d9a0600000000c800000000000000000020030000000000000000000000000000000000000000000000000000000000000000000025897400000000000000ffffffffffffffff000000436c75636b657273 [8484 ms] 07# <- 8000c80c9a0600 [8593 ms] 08# <- d7001b00eb0c9a06acda000000000100034576656e742041726561 [8703 ms] 09# <- ff095c0006eb0c9a0600000000c800000000000000000045030000000000000000000000000000000000000000000000000000000000000000000027099300000000000000ffffffffffffffff0000004576656e74204e6f74696365 [8703 ms] 10# <- 80008b0c9a0600 [8812 ms] 11# <- 87008655551f27caa278a388 [9093 ms] 12# -> 6303278a30 [9218 ms] 13# <- 300ad3841e004a616f6a616f0000000000000000000000000000000000004a616f6a616f0000000000000000000000000000000000004a616f6a616f0000000000000000000000000000000000004a616f6a616f00000000000000000000000000000000000000000000 [11797 ms] 14# <- 300afd841e004261627920426c75652048616c6500000000000000000000000001000000000000000800000000000000406da752fe7f0000a6fe8a435a7f00008708000000000000ac3878405a7f00000800000000000000738567000000000020856700000000000000 [11859 ms] 15# -> 8708d3841e00 [11922 ms] 16# -> 8708fd841e00 [11984 ms] 17# <- ff09630006e30c9a0600000000c8000000000000000000f502000000000000000000000000000000000000000000000000000000000000000000002909c500000000000000ffffffffffffffff00000048616c6520524f20544347204d616e61676572 [12265 ms] 18# <- 8000e10c9a0600 [12281 ms] 19# <- 8000e20c9a0600 [12281 ms] 20# <- 8000e50c9a0600 [12281 ms] 21# <- ff096400068b0c9a0600000000c8000000000000000000d602000000000000000000000000000000000000000000000000000000000000000000002b0b7300000000000000ffffffffffffffff000000556e6976657273616c2052656e74616c204e5043 [12515 ms] 22# <- 80006ef0990600 [12515 ms] 23# <- 800088089a0600 [12515 ms] 24# <- 8000cc0c9a0600 [12515 ms] 25# <- 800024229a0600 [12515 ms] 26# <- 800022229a0600 [12515 ms] 27# <- ff09640006df0c9a0600000000c8000000000000000000ca02000000000000000000000000000000000000000000000000000000000000000000002909f300000000000000ffffffffffffffff00000048616c6520524f20436f696e204d616e61676572 [12687 ms] 28# <- 80006e0c9a0600 [12703 ms] 29# <- 8000d20c9a0600 [12703 ms] 30# <- 8700c946551f270ae27caa88 [12859 ms] ============================================================================= 00# [ OK ] gefenia01.rsw [2172 ms] 01# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\loading01.jpg [4000 ms] 02# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\win_msgbox.bmp [4578 ms] 03# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\btn_cancel_b.bmp [4593 ms] 04# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\btn_cancel_a.bmp [4593 ms] 05# [ OK ] texture\À¯ÀúÀÎÅÍÆäÀ̽º\btn_cancel.bmp [4609 ms] 06# [ OK ] ..\_tmpEmblem\server_18_6.ebm [11640 ms] 07# [ OK ] sprite\npc\4_m_nfdeadman.act [22281 ms] 08# [ OK ] sprite\npc\4_m_nfdeadman.spr [22390 ms] 09# [ OK ] sprite\npc\4_nfcock.act [22406 ms] 10# [ OK ] sprite\npc\4_nfcock.spr [22422 ms] 11# [ OK ] model\3dmob\empelium90_0.gr2 [24687 ms] 12# [FAIL] ..\_tmpEmblem\..\data\texture\effect\flaggraffiti0.ebm [31343 ms] 13# [FAIL] ..\_tmpEmblem\server_0_42454764.ebm [31343 ms] 14# [ OK ] sprite\npc\4_cat_sailor1.act [31390 ms] 15# [ OK ] sprite\npc\4_cat_sailor1.spr [31422 ms] 16# [ OK ] sprite\npc\2_board1.act [31672 ms] 17# [ OK ] sprite\npc\2_board1.spr [31687 ms] 18# [ OK ] sprite\npc\4_f_valkyrie.act [31703 ms] 19# [ OK ] sprite\npc\4_f_valkyrie.spr [31765 ms] 20# [ OK ] imf\ÇÁ¸®½ºÆ®_³².imf [32343 ms] 21# [ OK ] imf\Á¦Ã¶°ø_³².imf [32468 ms] 22# [FAIL] ..\_tmpEmblem\..\data\texture\effect\flaggraffiti0.ebm [32531 ms] 23# [ OK ] sprite\Àΰ£Á·\¸öÅë\³²\ÇÏÀÌÇÁ¸®_³².spr [32547 ms] 24# [ OK ] sprite\Àΰ£Á·\¸öÅë\³²\ÇÏÀÌÇÁ¸®_³².act [32593 ms] 25# [ OK ] sprite\ÀÌÆÑÆ®\¼Õ¼ö·¹3.act [32718 ms] 26# [ OK ] sprite\ÀÌÆÑÆ®\¼Õ¼ö·¹3.spr [32750 ms] 27# [ OK ] sprite\Àΰ£Á·\¸öÅë\³²\È­ÀÌÆ®½º¹Ì½º_³².spr [32781 ms] 28# [ OK ] sprite\Àΰ£Á·\¸öÅë\³²\È­ÀÌÆ®½º¹Ì½º_³².act [32812 ms] 29# [ OK ] model\3dmob\guildflag90_1.gr2 [32968 ms] 30# [ OK ] sprite\npc\4_f_fairykid.act [33656 ms] ============================================================================= 00000001 00000002 ..\_tmpEmblem\..\data\texture\effect\flaggraffiti0.ebm 00000001 ..\_tmpEmblem\server_0_42454764.ebm 00000001 ..\ftwrk.lex 00000001 C:\Users\rojen\Desktop\HaleRO Full Client\ProhibitionLog.gd 00000001 SaveData\UserKeys.lua ============================================================================= 0x00400000 0x01d63000 C:\Users\rojen\Desktop\HaleRO Full Client\HaleRO.exe 0x77730000 0x0016e000 C:\Windows\SYSTEM32\ntdll.dll 0x76680000 0x00140000 C:\Windows\SYSTEM32\KERNEL32.DLL 0x77580000 0x000d7000 C:\Windows\SYSTEM32\KERNELBASE.dll 0x72ce0000 0x000a0000 C:\Windows\system32\apphelp.dll 0x77320000 0x0007c000 C:\Windows\SYSTEM32\ADVAPI32.dll 0x70730000 0x000ec000 C:\Windows\SYSTEM32\DDRAW.dll 0x003f0000 0x00007000 C:\Users\rojen\Desktop\HaleRO Full Client\DINPUT.dll 0x77040000 0x0010e000 C:\Windows\SYSTEM32\GDI32.dll 0x76f70000 0x00027000 C:\Windows\SYSTEM32\IMM32.DLL 0x74a40000 0x00020000 C:\Windows\SYSTEM32\IPHLPAPI.DLL 0x706a0000 0x00085000 C:\Users\rojen\Desktop\HaleRO Full Client\MSVCP110.dll 0x705c0000 0x000d6000 C:\Users\rojen\Desktop\HaleRO Full Client\MSVCR110.dll 0x74980000 0x00013000 C:\Windows\SYSTEM32\NETAPI32.dll 0x76fa0000 0x00095000 C:\Windows\SYSTEM32\oleaut32.dll 0x74f60000 0x012ad000 C:\Windows\SYSTEM32\SHELL32.dll 0x76800000 0x00045000 C:\Windows\SYSTEM32\SHLWAPI.dll 0x768e0000 0x00153000 C:\Windows\SYSTEM32\USER32.dll 0x74580000 0x00023000 C:\Windows\SYSTEM32\winmm.dll 0x76d30000 0x00050000 C:\Windows\SYSTEM32\WS2_32.dll 0x30000000 0x0006d000 C:\Users\rojen\Desktop\HaleRO Full Client\binkw32.dll 0x10000000 0x00015000 C:\Users\rojen\Desktop\HaleRO Full Client\cps.dll 0x00380000 0x0005d000 C:\Users\rojen\Desktop\HaleRO Full Client\granny2.dll 0x60000000 0x0005d000 C:\Users\rojen\Desktop\HaleRO Full Client\ijl15.dll 0x21100000 0x0005e000 C:\Users\rojen\Desktop\HaleRO Full Client\mss32.dll 0x77450000 0x00128000 C:\Windows\SYSTEM32\ole32.dll 0x76390000 0x000c3000 C:\Windows\SYSTEM32\msvcrt.dll 0x76890000 0x00041000 C:\Windows\SYSTEM32\sechost.dll 0x76ea0000 0x000ba000 C:\Windows\SYSTEM32\RPCRT4.dll 0x705b0000 0x00007000 C:\Windows\SYSTEM32\DCIMAN32.dll 0x76d80000 0x00113000 C:\Windows\SYSTEM32\MSCTF.dll 0x76f60000 0x00007000 C:\Windows\SYSTEM32\NSI.dll 0x74970000 0x00008000 C:\Windows\SYSTEM32\WINNSI.DLL 0x74960000 0x0000a000 C:\Windows\SYSTEM32\netutils.dll 0x74940000 0x0001d000 C:\Windows\SYSTEM32\srvcli.dll 0x74920000 0x00011000 C:\Windows\SYSTEM32\wkscli.dll 0x76210000 0x0017d000 C:\Windows\SYSTEM32\combase.dll 0x74550000 0x00023000 C:\Windows\SYSTEM32\WINMMBASE.dll 0x6fc40000 0x00961000 C:\Users\rojen\Desktop\HaleRO Full Client\gepard.dll 0x74f30000 0x0001e000 C:\Windows\SYSTEM32\SspiCli.dll 0x76850000 0x0003c000 C:\Windows\SYSTEM32\cfgmgr32.dll 0x74520000 0x00021000 C:\Windows\SYSTEM32\DEVOBJ.dll 0x6fbb0000 0x00089000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.17415_none_7c5769eaaa0aa358\COMCTL32.dll 0x74eb0000 0x0000f000 C:\Windows\SYSTEM32\WTSAPI32.dll 0x6fa60000 0x00141000 C:\Windows\SYSTEM32\dbghelp.dll 0x773a0000 0x00006000 C:\Windows\SYSTEM32\PSAPI.DLL 0x73b80000 0x001d6000 C:\Windows\SYSTEM32\WININET.dll 0x6fa50000 0x00008000 C:\Windows\SYSTEM32\FLTLIB.DLL 0x74e80000 0x00008000 C:\Windows\SYSTEM32\VERSION.dll 0x74f20000 0x0000a000 C:\Windows\SYSTEM32\CRYPTBASE.dll 0x73eb0000 0x00232000 C:\Windows\SYSTEM32\iertutil.dll 0x74e90000 0x0001b000 C:\Windows\SYSTEM32\USERENV.dll 0x74ec0000 0x00054000 C:\Windows\SYSTEM32\bcryptPrimitives.dll 0x74e70000 0x0000f000 C:\Windows\SYSTEM32\profapi.dll 0x744d0000 0x00045000 C:\Windows\SYSTEM32\WINSTA.dll 0x74260000 0x000ed000 C:\Windows\system32\uxtheme.dll 0x74910000 0x00009000 C:\Windows\SYSTEM32\kernel.appcore.dll 0x73b10000 0x00014000 C:\Windows\SYSTEM32\dhcpcsvc.DLL 0x73a50000 0x0004b000 C:\Windows\system32\mswsock.dll 0x744b0000 0x00011000 C:\Windows\system32\napinsp.dll 0x74490000 0x00016000 C:\Windows\system32\pnrpnsp.dll 0x74470000 0x00014000 C:\Windows\system32\NLAapi.dll 0x739d0000 0x0007e000 C:\Windows\SYSTEM32\DNSAPI.dll 0x74460000 0x0000a000 C:\Windows\System32\winrnr.dll 0x74450000 0x00010000 C:\Windows\system32\wshbth.dll 0x74400000 0x00046000 C:\Windows\System32\fwpuclnt.dll 0x739c0000 0x00008000 C:\Windows\System32\rasadhlp.dll 0x26f00000 0x0002a000 C:\Users\rojen\Desktop\HaleRO Full Client\Mp3dec.asi 0x22600000 0x00016000 C:\Users\rojen\Desktop\HaleRO Full Client\Mssfast.m3d 0x741d0000 0x00081000 C:\Windows\SYSTEM32\DSOUND.DLL 0x74190000 0x00040000 C:\Windows\SYSTEM32\POWRPROF.dll 0x765f0000 0x0008d000 C:\Windows\SYSTEM32\clbcatq.dll 0x74130000 0x00053000 C:\Windows\System32\MMDevApi.dll 0x73e50000 0x00060000 C:\Windows\SYSTEM32\AUDIOSES.DLL 0x743f0000 0x0000a000 C:\Windows\SYSTEM32\avrt.dll 0x74de0000 0x0008b000 C:\Windows\SYSTEM32\shcore.dll 0x74110000 0x0001a000 C:\Windows\system32\dwmapi.dll 0x72fc0000 0x009f9000 C:\Windows\SYSTEM32\igdumdim32.dll 0x72960000 0x0037b000 C:\Windows\SYSTEM32\igdusc32.dll 0x73d70000 0x000df000 C:\Windows\SYSTEM32\D3DIM700.DLL 0x74900000 0x0000d000 C:\Windows\system32\wbem\wbemprox.dll 0x74890000 0x00066000 C:\Windows\SYSTEM32\wbemcomn.dll 0x74870000 0x00019000 C:\Windows\SYSTEM32\CRYPTSP.dll 0x74840000 0x00030000 C:\Windows\system32\rsaenh.dll 0x74820000 0x0001e000 C:\Windows\SYSTEM32\bcrypt.dll 0x747d0000 0x00011000 C:\Windows\system32\wbem\wbemsvc.dll 0x74700000 0x000c4000 C:\Windows\system32\wbem\fastprox.dll
  5. Ehhh its that easy. Thank you @sader1992
  6. Hello guys! When using Ice wall on maps etc. It says "The skill cannot be used within this area." How do I enable the use of Ice wall on Maps such as dungeons, fields, MVP maps etc. As of now the Ice wall on my server can only be used in PVP. Can someone help me with this? Thank a lot!
  7. Haven't tried it yet. Let me do so then get back to you. Thanks ? @Mabuhay It actually works on the first line, but the second line don't. Am I doing it right? I'm putting a comma every after skill. Please see, thank you. // Skill Damage Adjustment Database // // Structure of Database: // SkillName,Caster,Map,Damage against Players{,Damage against Mobs{,Damage against Bosses{,Damage against Other}}} // // Caster: The groups for which the adjustment takes effect. (bitmask) // BL_PC = Player // BL_MOB = Monster // BL_PET = Pet // BL_HOM = Homunculus // BL_MER = Mercenary // BL_ELEM = Elemental // // Map: // 1 - Normal (the maps that aren't classified as these maps below) // 2 - PVP // 4 - GVG // 8 - Battlegrounds // 16 - 'skill_damage' mapflag // Restricted zones - they're configured by 'restricted <number>' mapflag // 32 - Zone 1 // 64 - Zone 2 // 128 - Zone 3 // 256 - Zone 4 // 512 - Zone 5 // 1024 - Zone 6 // 2048 - Zone 7 // // Notes: // Damage is a percentage between -100 and 100000. // Negative values decrease damage and positive values increase it (0 = no change). // // Examples: // MC_MAMMONITE,BL_PC,1,50 // In normal maps, players deal +50% damage to other players with Mammonite. // MO_EXTREMITYFIST,BL_PC,7,-50 // In PVP and GVG, players deal -50% (half) damage to other players with Asura Strike. // AB_ADORAMUS,BL_PC,6,50,0,10,15 // In PVP and GVG, players deal +50% damage to other players, +0% to mobs, +10% to bosses, and +15% to other with Adoramus. WZ_EARTHSPIKE,BL_PC,7,-80, MG_COLDBOLT,BL_PC,7,-80, MG_FIREBOLT,BL_PC,7,-80, MG_LIGHTNINGBOLT,BL_PC,7,-80, MG_SOULSTRIKE,BL_PC,7,-80, MG_FIREBALL,BL_PC,7,-80, MG_FIREWALL,BL_PC,7,-80, MG_FROSTDIVER,BL_PC,7,-80
  8. I've been testing a lot, changing then compiling but it seems doesn't work. Any idea how?? This is from my src/map/battle.cpp Default: case MG_FIREBOLT: case MG_COLDBOLT: case MG_LIGHTNINGBOLT: if (sc && sc->data[SC_SPELLFIST] && mflag&BF_SHORT) { skillratio += (sc->data[SC_SPELLFIST]->val4 * 100) + (sc->data[SC_SPELLFIST]->val1 * 50) - 100; // val4 = used bolt level, val2 = used spellfist level. [Rytech] ad.div_ = 1; // ad mods, to make it work similar to regular hits [Xazax] ad.flag = BF_WEAPON|BF_SHORT; ad.type = DMG_NORMAL; } break; 1st Change: case MG_FIREBOLT: case MG_COLDBOLT: case MG_LIGHTNINGBOLT: if (sc && sc->data[SC_SPELLFIST] && mflag&BF_SHORT) { skillratio += (sc->data[SC_SPELLFIST]->val4 * 100) + (sc->data[SC_SPELLFIST]->val1 * 50) - 200; // val4 = used bolt level, val2 = used spellfist level. [Rytech] ad.div_ = 1; // ad mods, to make it work similar to regular hits [Xazax] ad.flag = BF_WEAPON|BF_SHORT; ad.type = DMG_NORMAL; } break; 2nd Change: case MG_FIREBOLT: case MG_COLDBOLT: case MG_LIGHTNINGBOLT: if (sc && sc->data[SC_SPELLFIST] && mflag&BF_SHORT) { skillratio += (sc->data[SC_SPELLFIST]->val4 * 50) + (sc->data[SC_SPELLFIST]->val1 * 25) - 100; // val4 = used bolt level, val2 = used spellfist level. [Rytech] ad.div_ = 1; // ad mods, to make it work similar to regular hits [Xazax] ad.flag = BF_WEAPON|BF_SHORT; ad.type = DMG_NORMAL; } break; After doing this three modifications, the damage isn't reducing. Can someone help me with this?
  9. @Emistry, Can you kindly help me regarding this matter? Thank you! Does someone have any clue about this problem? Any answer will be much appreciated. Up
  10. Good day! First of all, I'm sorry if this is not the correct place for this thread, but since the problem can be in so many places(battleconf, db, src), I prefer to post it here and get the thread moved if it's the case. My current need is to fully remove the after cast delay from all skills. I've tried changing configurations in many different places, but I still couldn't achieve this goal. I already put up max agility and dexterity and still couldn't work it off. Consider the following scenario 1: I want have a Ministrel and I want to spam Arrow Vulcan and Musical Strike AS FAST AS HELL (Continuous), but I can't due this little impasse. Server Information: 99/70, Max ASPD: 190 This is a related topic from here but I can't seem to find what settings @Judas is referring to. These are my settings: battle/skill.conf sd //-------------------------------------------------------------- // rAthena Battle Configuration File // Originally Translated by Peter Kieser <[email protected]> // Made in to plainer English by Ancyker //-------------------------------------------------------------- // Note 1: Value is a config switch (on/off, yes/no or 1/0) // Note 2: Value is in percents (100 means 100%) // Note 3: Value is a bit field. If no description is given, // assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary) //-------------------------------------------------------------- // The rate of time it takes to cast a spell (Note 2, 0 = No casting time) casting_rate: 100 // Delay time after casting (Note 2) delay_rate: 0 // Does the delay time depend on the caster's DEX and/or AGI? (Note 1) // Note: On Official servers, neither Dex nor Agi affect delay time delay_dependon_dex: no delay_dependon_agi: yes // Minimum allowed delay for ANY skills after castbegin (in milliseconds) (Note 1) // Note: Setting this to anything above 0 can stop speedhacks. min_skill_delay_limit: 30 // This delay is the min 'can't walk delay' of all skills. // NOTE: Do not set this too low, if a character starts moving too soon after // doing a skill, the client will not update this, and the player/mob will // appear to "teleport" afterwards. default_walk_delay: 300 // Completely disable skill delay of the following types (Note 3) // NOTE: By default mobs don't have the skill delay as specified in the skill // database, but follow their own 'reuse' skill delay which is specified on // the mob skill db. When set, the delay for all skills become // min_skill_delay_limit. no_skill_delay: 1 // At what dex does the cast time become zero (instacast)? castrate_dex_scale: 150 // How much (dex*2+int) does variable cast turns zero? vcast_stat_scale: 530 // On official servers, amotion delay is applied at castbegin. There is no amotion delay applied // at castend. Set this to anything above 0 to also apply amotion delay at castend. (Note 2) // NOTE: Setting this will break chaining of skills with cast time but no aftercast delay. // The client-sided delays are different from skill to skill and usually range from 140 to 180. // If you want to be secure, a value between 90 and 140 is recommended. skill_amotion_leniency: 0 db/pre-re/skill_cast_db.txt //===== Bard =============================== //-- BA_MUSICALSTRIKE 316,1500,0,0,0,0,0 //===== Clown / Gypsy ====================== //-- CG_ARROWVULCAN 394,2000:2200:2400:2600:2800:3000:3200:3400:3600:3800,2800:2800:2800:2800:2800:3000:3000:3000:3000:3000,2000,0,0,0 db/pre-pre/skill_castnodex_db.txt 316,0,0 //BA_MUSICALSTRIKE 394,0,0 //CG_ARROWVULCAN Do any of you guys have any clue about this problem? Any answer will be much appreciated. Thanks for the attention.
  11. Hello Good Day! Is there anyone with this kind of script? For example. Today is my fresh opening server then.. 1.) A NPC will give free costume to the first twenty(20) players. (IP-Based/HID Based/Etc.) //I don't know which is much better. 2.) Then after the first twenty players [20/20] claimed the costumes, 3. The NPC will automatically be disabled, hide, or tell that all costumes are claimed. Thank you guys!
  12. rAthena Pre-Renewal 2015 Client Good day! I downloaded sa script for King of Hill at AnnieRuRu's content. The script works but the problem is, even tho I'm the owner of the Emperium, I can still hit the Emperium itself. I saw one post recently that you need to patch your server using the koe_1.2.diff file/patch file for rAthena. But I can't seem to find tutorials online on how to do it ? What I did earlier was to upload the diff file into the root folder of my server using WinSCP (shown in the first image below) and then I did the git apply using terminal in my server using VNCviewer and it has error (shown in the second image below). I really don't have the slightest idea on how to do this the correct way. I hope you could help me asap. Thanks a lot! Here's the patch content I got from AnnieRuRu's most update KOE Files and Patch // ===== rAthena Patch ======================================== // = King of Emperium Hill // ===== By: ================================================== // = AnnieRuru // ===== Current Version: ===================================== // = 1.2 // ===== Compatible With: ===================================== // = rAthena 2018-04-08 // ===== Description: ========================================= // = stop guild owner from hitting the emperium over and over // ===== Topic ================================================ // = http://herc.ws/board/topic/4495-king-of-emperium-hill/ // ===== Additional Comments: ================================= // = finally a patch for this popular script // ============================================================ db/castle_db.txt | 2 ++ src/map/battle.cpp | 7 +++++++ src/map/battle.hpp | 1 + 3 files changed, 10 insertions(+) diff --git a/db/castle_db.txt b/db/castle_db.txt index ceb74dd..0fc8231 100644 --- a/db/castle_db.txt +++ b/db/castle_db.txt @@ -60,3 +60,5 @@ 41,te_prtcas03,Gloria 3,Manager_TE#Wigner 42,te_prtcas04,Gloria 4,Manager_TE#Heine 43,te_prtcas05,Gloria 5,Manager_TE#Nerious + +100,guild_vs1,King of Emperium Hill,koe \ No newline at end of file diff --git a/src/map/battle.cpp b/src/map/battle.cpp index e845c5e..4234ba7 100644 --- a/src/map/battle.cpp +++ b/src/map/battle.cpp @@ -7643,6 +7643,13 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f if( (s_bl = battle_get_master(src)) == NULL ) s_bl = src; + if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) { + struct map_session_data *sd = BL_CAST( BL_PC, s_bl ); + if ( ( ( (TBL_MOB*)target )->mob_id == 1288 && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) && + ( sd->status.guild_id == mapreg_readreg( add_str("$koegid") ) || battle_getcurrentskill(src) > 0 ) ) + return 0; + } + if ( s_bl->type == BL_PC ) { switch( t_bl->type ) { case BL_MOB: // Source => PC, Target => MOB diff --git a/src/map/battle.hpp b/src/map/battle.hpp index b5fe7d4..f8e8908 100644 --- a/src/map/battle.hpp +++ b/src/map/battle.hpp @@ -10,6 +10,7 @@ #include "../config/core.h" #include "map.hpp" //ELE_MAX +#include "mapreg.hpp" //fwd declaration struct map_session_data;
  13. Is there a possible way to allow maybe three to four guilds to participate in Guild vs Guild and battle at the same time? Thank you @Mabuhay
  14. @Cretino, Your script was awesome.. I can see it. But how do I crack the room? What's the conversion between letters to number? I can't seem to crack the code. Thank you!
  15. @SandroRios ok ok im sorry. I'm using rAthena, I didn't do any source modification. Aldy tried using a non-gm account, 2015 client pre-renewal. Thank you Hello! I'm using the following. -rAthena -I didn't do any source modification yet because I don't know what to do. -2015 Client Version by PonyVPS -Pre-Renewal I'f I'm not mistaken. The Gypsy's etc/third skill should automatically activate after being soul linked. I tested in on a Ministrel/Clown, all etc./third skills/songs of gypsy showed or activated automatically after being soul linked. (See image 1). Now with my Gypsy after being soul linked. The skills/songs from ministrel showed but didn't activate automatically, I tried giving my Gypsy account some skill points and this happened (See image 2). It stacked the level of the following ministrel skills after being soul linked. It bypasses the level 10 skill level of the said skills and then after applying it, it doesn't work then my skill points would come back. Because of this.. I can't use the songs of Ministreal (Bragi, Sunset,etc.) in my Gypsy Character. Any help would be appreciated! Thanks a lot.
  16. up up up up up up up please helpppppppppppppppppppp pls up up up up
  17. Good day! 1.) I'm having a problem with my Gypsy class wherein its etc tab/3rd tab skills are still disabled after being soul linked as show in the first image below, Comparing it to my Ministrel wherein its etc tab/3rd tab skills are enabled after being soul linked as shown in the second image below. How do I enable the skills of my Gypsy in etc/3rd tab skills after being soul linked? Thanks a lot for the help!
  18. Good day! 1.) I'm having a problem with my Gypsy class wherein its etc tab/3rd tab skills are still disabled after being soul linked as show in the first image below, Comparing it to my Ministrel wherein its etc tab/3rd tab skills are enabled after being soul linked as shown in the second image below. How do I enable the skills of my Gypsy in etc/3rd tab skills after being soul linked? Thanks a lot for the help!
  19. up please. @BeWan At number two, in server.grf? My problems now have been answered. Thanks alot Mr. @BeWan
  20. Before we start. I would like to give credits to Annieruru for this script. Thank you! I'm done setting up the SQL Table and the dotapvpladder2.9.txt in my server and its working (text-based) along with the ladder. But............. I have two problems: 1.) The map where the player is killed doesn't show or blank. For example, Hale just pawned heyheyhey's head at ____________ 2.) I already downloaded the dotasoundeffect_2.rar, I don't have the idea where to put this wav files. Well for the mean time, I placed them inside my "ROClient/data" folder and it doesn't work. Please refer to the images and the program below. /* create table pvpladder ( char_id int(11) not null default '0' primary key, name varchar(30) not null default '', streaks smallint(6) unsigned not null default '0', kills smallint(6) unsigned not null default '0', deaths smallint(6) unsigned not null default '0', streaktime datetime ) engine = myisam; create table ownladder ( guild_id int(11) not null default '0' primary key, name varchar(24) not null default '', currentown smallint(6) unsigned not null default '0', highestown smallint(6) unsigned not null default '0', owntime datetime ) engine = myisam; */ //===== eAthena Script ======================================================= //= PVP ladder script with dota announcement ( SQL only ) //===== By: ================================================================== //= ~AnnieRuru~ //===== Current Version: ===================================================== //= 2.9 //===== Compatible With: ===================================================== //= eAthena SQL 14279, with MySQL 5.1 //===== Description: ========================================================= //= PVP ladder store in SQL table //= plus anti-sit-killer feature //===== Topic ================================================================ //= http://www.eathena.ws/board/index.php?showtopic=177918 //===== Additional Comments: ================================================= //= still don't have modify value option, will be done ... in next year ... //============================================================================ // add all the maps that you want this script to trigger ... all pvp and event maps perhaps ? // but if you already enable "all" maps, then can comment all these //guild_vs1 mapflag loadevent //guild_vs2 mapflag loadevent //guild_vs3 mapflag loadevent //guild_vs4 mapflag loadevent - script DOTAPVP -1,{ OnInit: // Config set .sound, 1; // soundeffect : 0 - disable, 1 - play soundeffect to all players on map, 2 - play soundeffect to an area around the killer, 3 - play soundeffect to killer only set .announce, 0; // announce to : 0 - global, 1 - map set .announcemap, 1; // announce the map name in the announcement ? : 0 - off, 1 - on set .announcekill, 1; // announce who pawn who's head : 0 - off, 1 - on set .msg_die, 0; // show message who kill you when die : 0 - off, 1 - on set .msg_kill, 0; // show message you kill who when killed someone : 0 - off, 1 - on set .gmnokill, 0; // GMs are not suppose to kill players. A GM with <this number> level or higher will do nothing. IF set to 60, GM60 and above kill any player will not get anything : 0 - off set .killingspree, 3; set .dominating, 4; set .megakill, 5; set .unstoppable, 6; set .wickedsick, 7; set .monsterkill, 8; set .godlike, 9; set .holyshit, 10; set .continue, 1; // after beyond-godlike, every <this number> kills will make announcement again set .owned, 5; // how many times the party/guild has to kill to announce ownage set .owncontinue, 1; // after ownage, every <this number> party/guild cumulative kills will make ownage announce again set .min_gm_menu, 90; // minimum level of GM can use the GM menu on ladder npc set .showtotal, 20; // show the length of ladder. Note : Maximum value = 128 set .showpage, 10; // set the views per page. Note : Maximum value = 128 set .loweststreak, 3; // mininum streak count allow to show in highest streak ladder. Default 3 means must at least have killing spree streak to display in ladder set .lowestownage, 5; // mininum ownage count allow to show in longest ownage ladder. Default 5 means must at least have 5 ownage counts to display in ladder setarray .maptrigger$, // only these maps will trigger this script "all"; // anti-sit-killer system // a player must kill another player with this minimum <this number> base level to get the announcement and in the ladder. // Otherwise only have streak ended announcement and killed player's streak reset. // Its possible for a level 1 novice to kill a level 99 player and he/she will still get in the ladder // but a level 99 kill a level 1 player will get nothing // 0 - off this system ( default is 55, pk setting ) set .lvltokill, 0; // when a player kill another same player <this number> times in a row, the player is warp back to save point. // and the player's streak, kills, and ownage count will deduct accordingly // 0 - off this system set .counttopunish, 6; // minimum level range to kill another player // eg. when set to 20, player level 99 needs to kill another player with minimum level of 79 to get announcement and increase the kill rank. // but a player with base level 50 kills a level 99 will also get the announcement // higher base level cannot kill lower level, but lower level can kill higher level // 0 - off this system set .minlvlrange, 0; // Config ends ------------------------------------------------------------------------------------------ // to prevent bug happen if ( .announce < 0 || .announce > 1 ) set .announce, 0; if ( .continue < 1 ) set .continue, 1; if ( .owncontinue < 1 ) set .owncontinue, 1; if ( .gmnokill <= 0 ) set .gmnokill, 100; if ( .lvltokill <= 1 ) set .lvltokill, 0; if ( .counttopunish <= 1 ) set .counttopunish, 0; set .maptriggersize, getarraysize(.maptrigger$); end; // script start. OnPCKillEvent: if ( getgmlevel() >= .gmnokill ) end; getmapxy .@map$, .@x, .@y, 0; if ( .maptrigger$ != "all" ) { for ( set .@i, 0; .@i < .maptriggersize; set .@i, .@i +1 ) { if ( .@map$ == .maptrigger$[.@i] ) break; } if ( .@i == .maptriggersize ) end; } attachrid killedrid; if ( killerrid != getcharid(3) && ( .msg_die || .msg_kill ) ) { if ( .msg_die ) message strcharinfo(0),"You have been killed by "+ rid2name(killerrid); if ( .msg_kill ) message rid2name(killerrid),"You just killed "+ strcharinfo(0); } if ( @PlayersKilledStreak >= .holyshit ) set .@streakname$,"Beyond Godlike"; else if ( @PlayersKilledStreak >= .godlike ) set .@streakname$,"Godlike"; else if ( @PlayersKilledStreak >= .monsterkill ) set .@streakname$,"Monster Kill"; else if ( @PlayersKilledStreak >= .wickedsick ) set .@streakname$,"Wicked Sick"; else if ( @PlayersKilledStreak >= .unstoppable ) set .@streakname$,"Unstoppable"; else if ( @PlayersKilledStreak >= .megakill ) set .@streakname$,"Mega-kill"; else if ( @PlayersKilledStreak >= .dominating ) set .@streakname$,"Dominating"; else if ( @PlayersKilledStreak >= .killingspree ) set .@streakname$,"Killing Spree"; if ( @PlayersKilledStreak >= .killingspree && killerrid == getcharid(3) ) announce strcharinfo(0) +" has ended "+( (sex)?"him":"her" )+" own "+ .@streakname$ +"["+ @PlayersKilledStreak +"] streak "+( (.announcemap)?("at "+ .@map$):""),16|.announce; else if ( @PlayersKilledStreak >= .killingspree ) announce rid2name(killerrid) +" has ended "+ strcharinfo(0) +"'s "+ .@streakname$ +"["+ @PlayersKilledStreak +"] streak "+( (.announcemap)?("at "+ .@map$):""),16|.announce; else if ( .announcekill && killerrid != getcharid(3) ) announce rid2name(killerrid) +" has pawned "+ strcharinfo(0) +"'s head "+( (.announcemap)?("at "+ .@map$):""),16|.announce; set @PlayersKilledStreak,0; set @dota_sql_deaths, @dota_sql_deaths +1; set @dota_multikills,0; query_sql "replace into pvpladder values ( "+ getcharid(0) +", '"+ escape_sql(strcharinfo(0)) +"', "+ @dota_sql_streaks +", "+ @dota_sql_kills +", "+ @dota_sql_deaths +", from_unixtime("+ @dota_sql_streaktime +") )"; set .@killed_gid, getcharid(2); if ( .@killed_gid ) { setd ".dota_sql_"+ .@killed_gid +"_c", 0; if ( getd(".dota_sql_"+ .@killed_gid +"_h") ) query_sql "replace into ownladder values ( "+ .@killed_gid +", '"+ escape_sql(getguildname(.@killed_gid)) +"', "+ getd(".dota_sql_"+ .@killed_gid +"_c") +", "+ getd(".dota_sql_"+ .@killed_gid +"_h") +", from_unixtime("+ getd(".dota_sql_"+ .@killed_gid +"_t") +") )"; } if ( killerrid == getcharid(3) || baselevel < .lvltokill ) end; if ( .minlvlrange ) set .@killedlvl, baselevel; attachrid killerrid; if ( .minlvlrange && .@killedlvl + .minlvlrange < baselevel ) end; if ( .counttopunish ) { if ( @sitkillminute != gettime(2) ) { deletearray @sitkillid, 128; deletearray @sitkilltimes, 128; set @sitkillminute, gettime(2); } set .@sitkillsize, getarraysize(@sitkillid); for ( set .@i,0; .@i < .@sitkillsize; set .@i, .@i +1 ) { if ( @sitkillid[.@i] != killedrid ) continue; else { set @sitkilltimes[.@i], @sitkilltimes[.@i] +1 ; if ( @sitkilltimes[.@i] >= .counttopunish ) { warp "SavePoint",0,0; announce strcharinfo(0) +" , Stop killing "+ rid2name(killedrid) + " !!!",0; debugmes strcharinfo(0) +" is sit-killing "+ rid2name(killedrid) +" for "+ @sitkilltimes[.@i] + " times"; logmes "is sit-killing "+ rid2name(killedrid) +" for "+ @sitkilltimes[.@i] +" times"; if ( @PlayersKilledStreak == @dota_sql_streaks ) { set @dota_sql_streaks, @dota_sql_streaks +1 - .counttopunish; set @dota_sql_streaktime, gettimetick(2); } set @PlayersKilledStreak, @PlayersKilledStreak +1 - .counttopunish; set @dota_sql_kills, @dota_sql_kills +1 - .counttopunish; query_sql "replace into pvpladder values ( "+ getcharid(0) +", '"+ escape_sql(strcharinfo(0)) +"', "+ @dota_sql_streaks +", "+ @dota_sql_kills +", "+ @dota_sql_deaths +", from_unixtime("+ @dota_sql_streaktime +") )"; set .@killer_gid, getcharid(2); if ( .@killer_gid ) { if ( getd(".dota_sql_"+ .@killer_gid +"_c") == getd(".dota_sql_"+ .@killer_gid +"_h") ) { setd ".dota_sql_"+ .@killer_gid +"_h", getd(".dota_sql_"+ .@killer_gid +"_h") +1 - .counttopunish; setd ".dota_sql_"+ .@killer_gid +"_t", gettimetick(2); } setd (".dota_sql_"+ .@killer_gid +"_c"), getd(".dota_sql_"+ .@killer_gid +"_c") +1 - .counttopunish; query_sql "replace into ownladder values ( "+ .@killer_gid +", '"+ escape_sql(getguildname(.@killer_gid)) +"', "+ getd(".dota_sql_"+ .@killer_gid +"_c") +", "+ getd(".dota_sql_"+ .@killer_gid +"_h") +", from_unixtime("+ getd(".dota_sql_"+ .@killer_gid +"_t") +") )"; } end; } break; } } if ( .@i == .@sitkillsize ) { set @sitkillid[.@i], killedrid; set @sitkilltimes[.@i], 1; } } set @PlayersKilledStreak, @PlayersKilledStreak +1 ; set @dota_sql_kills, @dota_sql_kills +1 ; if ( @PlayersKilledStreak > @dota_sql_streaks ) { set @dota_sql_streaks, @PlayersKilledStreak; set @dota_sql_streaktime, gettimetick(2); } query_sql "replace into pvpladder values ( "+ getcharid(0) +", '"+ escape_sql(strcharinfo(0)) +"', "+ @dota_sql_streaks +", "+ @dota_sql_kills +", "+ @dota_sql_deaths +", from_unixtime("+ @dota_sql_streaktime +") )"; if ( @PlayersKilledStreak == .killingspree ) setarray .@streakname$,"killingspree.wav","is on a KILLING SPREE","!"; else if ( @PlayersKilledStreak == .dominating ) setarray .@streakname$,"dominating.wav","is DOMINATING","!"; else if ( @PlayersKilledStreak == .megakill ) setarray .@streakname$,"megakill.wav","has a MEGA KILL","!"; else if ( @PlayersKilledStreak == .unstoppable ) setarray .@streakname$,"unstoppable.wav","is UNSTOPPABLE","!!"; else if ( @PlayersKilledStreak == .wickedsick ) setarray .@streakname$,"wickedsick.wav","is WICKED SICK","!!"; else if ( @PlayersKilledStreak == .monsterkill ) setarray .@streakname$,"monsterkill.wav","has a MONSTER KILL","!!"; else if ( @PlayersKilledStreak == .godlike ) setarray .@streakname$,"godlike.wav","is GODLIKE","!!!"; else if ( @PlayersKilledStreak >= .holyshit && ( (@PlayersKilledStreak - .holyshit) % .continue == 0 ) ) setarray .@streakname$,"holyshit.wav","is BEYOND GODLIKE",". Someone KILL "+( (sex)?"HIM":"HER" ) +"!!!!!!"; if ( .@streakname$[1] != "" ) { announce strcharinfo(0) +" "+ .@streakname$[1] +"["+ @PlayersKilledStreak +"] "+( (.announcemap)?("at "+ .@map$):"") + .@streakname$[2],16|.announce; if ( .sound == 1 ) soundeffectall .@streakname$[0],0,.@map$; else if ( .sound == 2 ) soundeffectall .@streakname$[0],0; else if ( .sound == 3 ) soundeffect .@streakname$[0],0; } set @dota_multikills, @dota_multikills + 1; deltimer "DOTAPVP::OnStreakReset"; addtimer 18000,"DOTAPVP::OnStreakReset"; set .@killer_gid, getcharid(2); if ( .@killer_gid && .@killer_gid != .@killed_gid ) { setd ".dota_sql_"+ .@killer_gid +"_c", getd(".dota_sql_"+ .@killer_gid +"_c") +1 ; if ( getd(".dota_sql_"+ .@killer_gid +"_c") > getd(".dota_sql_"+ .@killer_gid +"_h") ) { setd ".dota_sql_"+ .@killer_gid +"_h", getd(".dota_sql_"+ .@killer_gid +"_c"); setd ".dota_sql_"+ .@killer_gid +"_t", gettimetick(2); } query_sql "replace into ownladder values ( "+ .@killer_gid +", '"+ escape_sql(getguildname(.@killer_gid)) +"', "+ getd(".dota_sql_"+ .@killer_gid +"_c") +", "+ getd(".dota_sql_"+ .@killer_gid +"_h") +", from_unixtime("+ getd(".dota_sql_"+ .@killer_gid +"_t") +") )"; } set .@dota_multikills, @dota_multikills; set .@origin, getcharid(3); sleep 1500; if ( .@killer_gid && .@killer_gid != .@killed_gid && getd(".dota_sql_"+ .@killer_gid +"_c") >= .owned && ( ( getd(".dota_sql_"+ .@killer_gid +"_c") - .owned ) % .owncontinue == 0 ) ) { if ( .announce ) mapannounce .@map$, "The guild ["+ getguildname(.@killer_gid) +"] is OWNING["+ getd(".dota_sql_"+ .@killer_gid +"_c") +"] !!!",16; else announce "The guild ["+ getguildname(.@killer_gid) +"] is OWNING["+ getd(".dota_sql_"+ .@killer_gid +"_c") +"] !!!",16; if ( .sound == 1 ) soundeffectall "ownage.wav",0,.@map$; else if ( .sound == 2 ) soundeffectall "ownage.wav",0; else if ( .sound == 3 && attachrid(.@origin) ) soundeffect "ownage.wav",0; } sleep 1250; if ( !attachrid(.@origin) ) end; if ( .@dota_multikills == 2 ) { if ( .announce ) mapannounce .@map$, strcharinfo(0) +" just got a Double Kill !",16; else announce strcharinfo(0) +" just got a Double Kill !",16; if ( .sound == 1 ) soundeffectall "doublekill.wav",0,.@map$; else if ( .sound == 2 ) soundeffectall "doublekill.wav",0; else if ( .sound == 3 ) soundeffect "doublekill.wav",0; } else if ( .@dota_multikills == 3 ) { if ( .announce ) mapannounce .@map$, strcharinfo(0) +" just got a Triple Kill !!!",16; else announce strcharinfo(0) +" just got a Triple Kill !!!",16; if ( .sound == 1 ) soundeffectall "triplekill.wav",0,.@map$; else if ( .sound == 2 ) soundeffectall "triplekill.wav",0; else if ( .sound == 3 ) soundeffect "triplekill.wav",0; } else if ( .@dota_multikills == 4 ) { if ( .announce ) mapannounce .@map$, strcharinfo(0) +" just got a Ultra Kill !!!",16; else announce strcharinfo(0) +" just got a Ultra Kill !!!",16; if ( .sound == 1 ) soundeffectall "ultrakill.wav",0,.@map$; else if ( .sound == 2 ) soundeffectall "ultrakill.wav",0; else if ( .sound == 3 ) soundeffect "ultrakill.wav",0; } else if ( .@dota_multikills >= 5 ) { if ( .announce ) mapannounce .@map$, strcharinfo(0) +" is on a Rampage !!!",16; else announce strcharinfo(0) +" is on a Rampage !!!",16; if ( .sound == 1 ) soundeffectall "rampage.wav",0,.@map$; else if ( .sound == 2 ) soundeffectall "rampage.wav",0; else if ( .sound == 3 ) soundeffect "rampage.wav",0; } end; OnStreakReset: set @dota_multikills, 0; end; OnWhisperGlobal: if ( @spam_dotapvp + 3 >= gettimetick(2) ) // 3 seconds interval so player don spam this command end; set @spam_dotapvp, gettimetick(2); if ( @dota_sql_kills == 0 && @dota_sql_deaths == 0 ) query_sql "select kills, deaths, streaks, unix_timestamp(streaktime) from pvpladder where char_id = "+ getcharid(0), @dota_sql_kills, @dota_sql_deaths, @dota_sql_streaks, @dota_sql_streaktime; if ( @dota_sql_kills || @dota_sql_deaths ) { dispbottom "Your current Streak : "+ @PlayersKilledStreak; dispbottom "Your total Kills : "+ @dota_sql_kills; dispbottom "Your total Deaths : "+ @dota_sql_deaths; dispbottom "Your highest Streak : "+ @dota_sql_streaks; query_sql "select date_format( from_unixtime("+ @dota_sql_streaktime +"),'%a %e/%c/%y %r')", .@time1$; dispbottom "Your highest Streak on : "+ .@time1$; } else dispbottom "You are not in the pvp ladder yet."; if ( getcharid(2) ) { if ( getd(".dota_sql_"+ getcharid(2) +"_h") == 0 ) { query_sql "select currentown, highestown, unix_timestamp(owntime) from ownladder where guild_id = "+ getcharid(2), .@c, .@h, .@t; setd ".dota_sql_"+ getcharid(2) +"_c", .@c; setd ".dota_sql_"+ getcharid(2) +"_h", .@h; setd ".dota_sql_"+ getcharid(2) +"_t", .@t; } if ( getd(".dota_sql_"+ getcharid(2) +"_h") ) { dispbottom "Your guild current Own : "+ getd(".dota_sql_"+ getcharid(2) +"_c"); dispbottom "Your guild highest Own : "+ getd(".dota_sql_"+ getcharid(2) +"_h"); query_sql "select date_format( from_unixtime("+ getvariableofnpc( getd(".dota_sql_"+ getcharid(2) +"_t"), "DOTAPVP" ) +"),'%a %e/%c/%y %r')", .@time2$; dispbottom "Your guild highest Own on : "+ .@time2$; } else dispbottom "Your guild is not in the ladder yet."; } end; OnPCLoginEvent: if ( .maptrigger$ != "all" ) end; OnPCLoadMapEvent: if ( @dota_sql_kills == 0 && @dota_sql_deaths == 0 ) { if ( .maptrigger$ != "all" ) { getmapxy .@map$, .@x, .@y, 0; for ( set .@i, 0; .@i < .maptriggersize; set .@i, .@i +1 ) { if ( .@map$ == .maptrigger$[.@i] ) break; } if ( .@i == .maptriggersize ) end; } query_sql "select kills, deaths, streaks, unix_timestamp(streaktime) from pvpladder where char_id = "+ getcharid(0), @dota_sql_kills, @dota_sql_deaths, @dota_sql_streaks, @dota_sql_streaktime; } if ( getcharid(2) && getd(".dota_sql_"+ getcharid(2) +"_h") == 0 ) { query_sql "select currentown, highestown, unix_timestamp(owntime) from ownladder where guild_id = "+ getcharid(2), .@c, .@h, .@t; setd ".dota_sql_"+ getcharid(2) +"_c", .@c; setd ".dota_sql_"+ getcharid(2) +"_h", .@h; setd ".dota_sql_"+ getcharid(2) +"_t", .@t; } end; } prontera,152,185,5 script PvP-StatsViewer 57,{ set .@npcname$, strnpcinfo(0); while (1) { mes "["+ .@npcname$ +"]"; mes "Hello "+ strcharinfo(0) +"..."; mes "If you want to I can show you your PVP stats."; next; switch ( select ( "Most Kills","Highest Streak","Longest Ownage","Own Information","Explanation" ) ) { case 1: set .@nb, query_sql("select name, kills, deaths from pvpladder order by kills desc limit "+ getvariableofnpc(.showtotal,"DOTAPVP"), .@name$, .@kills, .@deaths); if ( .@nb == 0 ) { mes "["+ .@npcname$ +"]"; mes "The ladder currently is empty."; next; } for ( set .@j,0; .@j < .@nb; set .@j, .@j + getvariableofnpc(.showpage,"DOTAPVP") ) { mes "["+ .@npcname$ +"]"; for ( set .@i, .@j; .@i < (getvariableofnpc(.showpage,"DOTAPVP") + .@j) && .@i < .@nb; set .@i, .@i + 1 ) { mes "^996600"+ (.@i+1) +": ^006699"+ .@name$[.@i] +" ^00AA00["+ .@kills[.@i] +"] ^FF0000<"+ .@deaths[.@i] +">^000000"; } next; } break; case 2: set .@nb, query_sql("select name, streaks, date_format(streaktime,'%a %e/%c/%y %r') from pvpladder where streaks >= "+ getvariableofnpc(.loweststreak,"DOTAPVP") +" order by streaks desc limit "+ getvariableofnpc(.showtotal,"DOTAPVP"), .@name$, .@streak, .@time$); if ( .@nb == 0 ) { mes "["+ .@npcname$ +"]"; mes "The ladder currently is empty."; next; } for ( set .@j,0; .@j < .@nb; set .@j, .@j + getvariableofnpc(.showpage,"DOTAPVP") ) { mes "["+ .@npcname$ +"]"; for ( set .@i, .@j; .@i < (getvariableofnpc(.showpage,"DOTAPVP") + .@j) && .@i < .@nb; set .@i, .@i + 1 ) { mes "^996600"+ (.@i+1) +": ^006699"+ .@name$[.@i] +" ^70AC11{"+ .@streak[.@i] +"} ^000000on :"; mes " ^EE8800"+ .@time$[.@i] +"^000000"; } next; } break; case 3: set .@nb, query_sql("select name, highestown, date_format(owntime,'%a %e/%c/%y %r') from ownladder where highestown >= "+ getvariableofnpc(.lowestownage,"DOTAPVP") +" order by highestown desc limit "+ getvariableofnpc(.showtotal,"DOTAPVP"), .@name$, .@owned, .@time$); if ( .@nb == 0 ) { mes "["+ .@npcname$ +"]"; mes "The ladder currently is empty."; next; } for ( set .@j,0; .@j < .@nb; set .@j, .@j + getvariableofnpc(.showpage,"DOTAPVP") ) { mes "["+ .@npcname$ +"]"; for ( set .@i, .@j; .@i < (getvariableofnpc(.showpage,"DOTAPVP") + .@j) && .@i < .@nb; set .@i, .@i + 1 ) { mes "^996600"+ (.@i+1) +": ^006699"+ .@name$[.@i] +" ^00AAAA("+ .@owned[.@i] +") ^000000on :"; mes " ^EE8800"+ .@time$[.@i] +"^000000"; } next; } break; case 4: if ( @dota_sql_kills == 0 && @dota_sql_deaths == 0 ) query_sql "select kills, deaths, streaks, unix_timestamp(streaktime), date_format(streaktime,'%a %e/%c/%y %r') from pvpladder where char_id = "+ getcharid(0), @dota_sql_kills, @dota_sql_deaths, @dota_sql_streaks, @dota_sql_streaktime, .@time1$; mes "["+ .@npcname$ +"]"; if ( @dota_sql_kills == 0 && @dota_sql_deaths == 0 ) mes "You not yet kill any player."; else { mes "Your Current Streak : ^70AC11{"+ @PlayersKilledStreak +"}^000000"; mes "Your Total Kills : ^00AA00["+ @dota_sql_kills +"]^000000"; mes "Your Death Counts : ^FF0000<"+ @dota_sql_deaths +">^000000"; if ( @dota_sql_kills || @dota_sql_streaks ) { mes "Highest Streak was ^70AC11{"+ @dota_sql_streaks +"}^000000 on :"; query_sql "select date_format( from_unixtime("+ @dota_sql_streaktime +"),'%a %e/%c/%y %r')", .@time1$; mes " ^EE8800"+ .@time1$ +"^000000"; } } next; if ( getcharid(2) ) { if ( getvariableofnpc( getd(".dota_sql_"+ getcharid(2) +"_h"), "DOTAPVP" ) == 0 ) { query_sql "select currentown, highestown, unix_timestamp(owntime) from ownladder where guild_id = "+ getcharid(2), .@c, .@h, .@t; set getvariableofnpc( getd(".dota_sql_"+ getcharid(2) +"_c"), "DOTAPVP" ), .@c; set getvariableofnpc( getd(".dota_sql_"+ getcharid(2) +"_h"), "DOTAPVP" ), .@h; set getvariableofnpc( getd(".dota_sql_"+ getcharid(2) +"_t"), "DOTAPVP" ), .@t; } mes "["+ .@npcname$ +"]"; if ( getvariableofnpc( getd(".dota_sql_"+ getcharid(2) +"_h"), "DOTAPVP" ) == 0 ) { mes "Your guild not yet kill any player."; } else { mes "Your guild name : ^006699"+ strcharinfo(2) +"^000000"; mes "Current Owning : ^00AAAA("+ getvariableofnpc( getd(".dota_sql_"+ getcharid(2) +"_c"), "DOTAPVP" ) +")^000000"; mes "Longest Ownage was ^00AAAA("+ getvariableofnpc( getd(".dota_sql_"+ getcharid(2) +"_h"), "DOTAPVP" ) + ")^000000 on :"; query_sql "select date_format( from_unixtime("+ getvariableofnpc( getd(".dota_sql_"+ getcharid(2) +"_t"), "DOTAPVP" ) +"),'%a %e/%c/%y %r')", .@time2$; mes " ^EE8800"+ .@time2$ +"^000000"; } next; } break; case 5: mes "["+ .@npcname$ +"]"; mes "Explanation for Most Kills:"; mes " "; mes "^996600Rank. ^006699NAME ^00AA00[Total Kills] ^FF0000<Deaths>^000000"; mes " "; mes "--------------------------------"; mes " "; mes "The ^00AA00Kills^000000 added when a player kills another player."; mes " "; mes "^FF0000Deaths^000000 count increase when a player killed by another player, or suicide (eg: Grand Cross)."; mes " "; mes "A player killed by monsters, homunculus or pets will not add the kills or deaths count."; next; mes "["+ .@npcname$ +"]"; mes "Explanation for Highest Streak:"; mes " "; mes "^996600Rank. ^006699NAME ^70AC11{Highest Streak} ^000000on :"; mes " ^EE8800TIME^000000"; mes " "; mes "--------------------------------"; mes " "; mes "The ^70AC11Streak^000000 are added every time a player kills another player. It will reset upon log out, killed by another player, or suicide (eg: Sacrifice)."; mes " "; mes "Then it record in the server the ^EE8800TIME^000000 when that player got that highest streak."; mes " "; mes "A player killed by monsters, homunculus or pets will not reset the streak."; mes " "; mes "--------------------------------"; mes " "; mes "The numbers of straight kills to get these announcements are :"; mes "^70AC11"+ getvariableofnpc(.killingspree,"DOTAPVP") +"^000000 : Killing Spree"; mes "^70AC11"+ getvariableofnpc(.dominating,"DOTAPVP") +"^000000 : Dominating"; mes "^70AC11"+ getvariableofnpc(.megakill,"DOTAPVP") +"^000000 : Mega Kill"; mes "^70AC11"+ getvariableofnpc(.unstoppable,"DOTAPVP") +"^000000 : Unstoppable"; mes "^70AC11"+ getvariableofnpc(.wickedsick,"DOTAPVP") +"^000000 : Wicked Sick"; mes "^70AC11"+ getvariableofnpc(.monsterkill,"DOTAPVP") +"^000000 : Monster Kill"; mes "^70AC11"+ getvariableofnpc(.godlike,"DOTAPVP") +"^000000 : Godlike"; mes "^70AC11"+ getvariableofnpc(.holyshit,"DOTAPVP") +"^000000 : Beyond Godlike"; next; mes "["+ .@npcname$ +"]"; mes "Explanation for Longest Ownage:"; mes " "; mes "^996600Rank. ^006699NAME ^00AAAA(Longest Ownage) ^000000on :"; mes " ^EE8800TIME^000000"; mes " "; mes "--------------------------------"; mes " "; mes "The ^00AAAAOwnage^000000 added every time any guild members killed another player that doesn't belong to his/her guild. It will reset when any of the guild member was killed by ANY player, including his/her guild member."; mes " "; mes "Then it record in the server the ^EE8800TIME^000000 when the guild got that longest ownage."; mes " "; mes "If the server went under maintainance, the current ownage will survive after the server restart."; mes " "; mes "Any guild member killed by monster, homunculus or pets will not reset the ownage count."; next; if ( getvariableofnpc(.lvltokill,"DOTAPVP") ) { mes "["+ .@npcname$ +"]"; mes "You must kill another player with minimum base level of "+ getvariableofnpc(.lvltokill,"DOTAPVP") +", in order to get an announcement or get in the ladder."; mes " "; mes "It's possible for a base level 1 novice kills a base level 99 player and still can get in the ladder."; mes "However when a player level 99 kills a level 1 novice will get nothing."; next; } if ( getvariableofnpc(.counttopunish,"DOTAPVP") ) { mes "["+ .@npcname$ +"]"; mes "Some noob players try to kill the same person over and over again in hope of getting his/her name appear in the ladder."; mes "However if you trying to do the same thing on this ladder, your name will announce to the public, and your action will be recorded into the server to notify the GMs."; next; } if ( getvariableofnpc(.minlvlrange,"DOTAPVP") ) { mes "["+ .@npcname$ +"]"; mes "When you kill another player thats lower base level than you, the base level gap between you and that player must not more than "+ getvariableofnpc(.minlvlrange,"DOTAPVP") +"."; mes " "; if ( getvariableofnpc(.minlvlrange,"DOTAPVP") >= 200) mes "In other words, if your base level is 500, the player you killed must be at least level "+( 500 - getvariableofnpc(.minlvlrange,"DOTAPVP") )+" then only you will get the announcement and in the ladder."; else if ( getvariableofnpc(.minlvlrange,"DOTAPVP") >= 70) mes "In other words, if your base level is 255, the player you killed must be at least level "+( 255 - getvariableofnpc(.minlvlrange,"DOTAPVP") )+" then only you will get the announcement and in the ladder."; else mes "In other words, if your base level is 99, the player you killed must be at least level "+( 99 - getvariableofnpc(.minlvlrange,"DOTAPVP") )+" then only you will get the announcement and in the ladder."; mes "Higher base level kills lower level gets nothing, however lower level player kills higher level will get the announcement."; next; } break; } } } dota_pvpladder_2.9.txt
  21. What is the best VPS hosting server? Im in Philippines. The VPSserver that has NO LAGS, WITH GEPARD, ANTI-DDOS PROTECTION.
×
×
  • Create New...