Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×

Lord Ganja

Members
  • Posts

    444
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Lord Ganja

  1. What's with this error? How to fix this? I got this after updating to the latest svn. Thanks!
  2. Thanks Emistry. but, could you modify my script? I don't know where to put it in my script. EDIT: I came up with this script, but it doesn't work. would anyone help me with this? Thanks! - script autochange -1,{ OnPCLoadMapEvent: if (getgmlevel() > 0) end; getmapxy(.@map$,.@x,.@y,0); if(.@map$=="pvp_c_room") { set .@equip_top, getequipid(EQI_HEAD_TOP); set .@equip_mid, getequipid(EQI_HEAD_MID); set .@equip_bot, getequipid(EQI_HEAD_LOW); attachnpctimer ""+strcharinfo(0)+""; goto a_timer; } end; a_timer: initnpctimer; end; OnTimer1000: end; OnTimer1100: if( .@equip_top != getequipid(EQI_HEAD_TOP) ) { set .@equip_top, getequipid(EQI_HEAD_TOP); atcommand "@changelook 1 0"; goto a_timer; stopnpctimer; end; } if( .@equip_mid != getequipid(EQI_HEAD_MID) ) { set .@equip_mid, getequipid(EQI_HEAD_MID); atcommand "@changelook 2 0"; goto a_timer; stopnpctimer; end; } if( .@equip_bot != getequipid(EQI_HEAD_LOW) ) { set .@equip_bot, getequipid(EQI_HEAD_LOW); atcommand "@changelook 3 0"; goto a_timer; stopnpctimer; end; } else { goto a_timer; stopnpctimer; end; } OnPCDieEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="pvp_c_room") stopnpctimer; end; OnPCLogoutEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="pvp_c_room") stopnpctimer; end; }
  3. Hello. I tried making a script which sets the looks of the player into nothing even when they are equipped with headgears. Can anyone here modify this script or tell me what script should I use in order to detect a player if they try to change equips. Thanks in advance! look at this script: - script autochange -1,{ OnPCLoadMapEvent: if (getgmlevel() > 0) end; getmapxy(.@map$,.@x,.@y,0); if(.@map$=="pvp_c_room") attachnpctimer ""+strcharinfo(0)+""; goto a_timer; end; a_timer: initnpctimer; end; OnTimer1000: end; OnTimer1100: <script that detects a player if they changed equip?> atcommand "@changelook 1 0"; atcommand "@changelook 2 0"; atcommand "@changelook 3 0"; stopnpctimer; end; } else { goto a_timer; stopnpctimer; end; } OnPCDieEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="pvp_c_room") stopnpctimer; end; OnPCLogoutEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="pvp_c_room") stopnpctimer; end; } EDIT: maybe anyone could provide a new and much better script. That would be much appreciated. Thanks!
  4. thanks for this! one more question. if I changed (getcharid(1) == 0) to (getcharid(1) == 1) it would mean that the player I am looking for, is a player in a party? So it's like, '0' means no party, and '1' means has a party? Instead of (getcharid(1) == 1) use (getcharid(1) != 0) since it returns the party id number. Ok. Thanks for this Patskie. SOLVED!
  5. thanks for this! one more question. if I changed (getcharid(1) == 0) to (getcharid(1) == 1) it would mean that the player I am looking for, is a player in a party? So it's like, '0' means no party, and '1' means has a party?
  6. Could anyone give me a script that detects a player if he/she is in a guild or party? Thanks in advance!
  7. Could you help me to edit the src so that GM's are ignored/not counted in the script 'getmapusers'. I tried to edit my script.c using this one here http://rathena.org/board/topic/66820-gm-ignored-in-getmapusers/ but it got errors. Whenever I tried to click the Abort, Retry, or Ignore, it causes the mapserver to stop. Here's a screenshot of the error: Any help please? Thanks in advance!
  8. Is it possible to disable all commands of a GM when they enter a certain map using onpcloadmapevent? And returning their commands after they logout. OnPCLoadMapEvent: if(getgmlevel() > 60 && ( .@map$ == "MAP")) { WHAT SCRIPT SHOULD I PUT HERE TO DISABLE THEIR COMMANDS? } EDIT: only gm's with level 60 and above can't use commands. But normal players can use commands. I GOT THE SOLUTION!
  9. Thanks for you quick reply Pinoy Fury. But I only want to disable specific skills which is body relocation, high jump and backsliding. So it's like, when the getmapusers is triggered by the timer, the players that has a Job of monk/champion,taekwon/SG/SL,and thief/assasin/rogue will have their SPECIFIC skills be disabled, but they can still use their other skills.
  10. Is it possible to create a script wherein if there are only 3 players left inside the map the some of the skills of the player will be disabled. for example, during the last man standing players keep on running away from their opponents using skills such as body reloc, high jump,backsliding, etc. Now, what I wanted is, if there are only 3 players left inside the map the players that have such skill won't be able to use them.
  11. Hello rathena, I just encountered a problem. Whenever I kill any monster, I can't see any of its drops, but after killing it when I warp to the coordinates where the monster is killed, I can now see the monster drops. So I still need to jump/warp to the monsters coordinates in order to see the drops. Anyone knows how to solve this? Thanks in advance!
  12. http://rathena.org/board/topic/80937-item-noequip-not-working-on-equipments-only-usable-item-help/?p=191426 I don't know how to revert the changes. Should I do it manually? I tried reverting it but I failed. I don't know what part should be reverted. I downloaded the src files revision r17118. then I look at the changes done at r17119 regarding the item_noequip.txt.. then I tried editing the src back from r17118. but then, after I recompiled I got errors. So I just switch it back to latest.. could you point it out what are the specific details/scripts inside the files that I should replace/change/edit? HELP ME PLEASE! Thanks in advance!
  13. Thanks for the info Rytech. I guess i'll just use the id's from 568-699 and pick the best npc's among my custom npcs until the new stable client will be released. anyway, thanks again
  14. Since we can't use the id's from 126-400 and the npc id is only up to 999, is there any way to enable the npc's ranging from 10000+ so we can add another more lots of custom npc sprites? I just read something about adding custom npcs here : http://supportmii.com/ro1/JudasBible.pdf NOTE (From Ai4rei): There is only one catch…You cannot use IDs 126~400. Also, you need to use an ID beyond the latest npc ID currently 568, before 700 Beware of putting sprites after 568, since KRO custom npcs may be released which will force you too redo the lua files
  15. Hello, I just added a custom npc. but whenever I used it. I always got this error [Error]: status_set_viewdata (NPC): No view data for class 177 data\luafiles514\lua files\datainfo\jobname.lub [jobtbl.JT_beachgirls2] = "beachgirls2", data\luafiles514\lua files\datainfo\npcidentity.lub ["JT_beachgirls2"] = 177, I used notepad c++ to make those lub files. My custom items seems fine. but the custom npc's are messed up. I put the spr and act files inside the data\sprite\npc Is there like a server side modifications to be done so that this custom npc would work fine? Btw, I am using 2012-04-10 client and revision r17227. Any help? thanks in advance! EDIT: i found something that can answer my question here. http://supportmii.com/ro1/JudasBible.pdf and I made another question related to this here: http://rathena.org/board/topic/80990-enabling-npc-id-10000/
  16. Hi Emistry. How to revert the changes? I don't how how to revert. Is it possible to revert while still having the latest revision? meaning, the only part that will be changed is the files that affects the unequipping of items listed in item_noequip.txt.
  17. oh, didn't notice it. thanks for this information. But, is it possible to be unequip when the player enters the restricted map and cannot be equipped on the restricted map? if i am not mistaken...the item that listed inside item_equip.txt will be auto stripped off when entering these restricted maps. No, they are not stripped. Instead they're effects we're disabled. is it still possible to return back the old system of this? wherein item are unequipped when entering the restricted map? Hello Clydelion, is it still possible to return back the old system of this? wherein item are unequipped when entering the restricted map?
  18. Hello, can anyone help me in src mod so that those equipments listed in the item_noequip.txt will be unequipped and cannot be equipped anymore when inside the restricted map. http://rathena.org/board/topic/80937-item-noequip-not-working-on-equipments-only-usable-item-help/ Thanks!
  19. oh, didn't notice it. thanks for this information. But, is it possible to be unequip when the player enters the restricted map and cannot be equipped on the restricted map?
×
×
  • Create New...