Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    248

Everything posted by Dastgir

  1. From Topic http://rathena.org/board/topic/63048-how-to-reset-the-castle/ : SQL method: [*]stop the servers [*]run this query: TRUNCATE TABLE guild_castle; [*]restart servers Script method: [*]create a file containing this npc scriptporing_c01,100,100,0 script reset_castles 910,{OnWhisperGlobal: setarray .@maps$[0], "aldeg_cas01", "aldeg_cas02", "aldeg_cas03", "aldeg_cas04", "aldeg_cas05", "gefg_cas01", "gefg_cas02", "gefg_cas03", "gefg_cas04", "gefg_cas05", "payg_cas01", "payg_cas02", "payg_cas03", "payg_cas04", "payg_cas05", "prtg_cas01", "prtg_cas02", "prtg_cas03", "prtg_cas04", "prtg_cas05", "nguild_alde", "nguild_gef", "nguild_pay", "nguild_prt", "schg_cas01", "schg_cas02", "schg_cas03", "schg_cas04", "schg_cas05", "arug_cas01", "arug_cas02", "arug_cas03", "arug_cas04", "arug_cas05"; // castle_ID from 0 to 33 for (set .@i,0; .@i < getarraysize(.@maps$); set .@i,.@i+1) { for (set .@j,1; .@j<=17; set .@j,.@j+1) setcastledata .@maps$[.@i], .@j, 0; } atcommand "@unloadnpc " + strnpcinfo(3);} [*]@loadnpc folder/filename.txt [*]click or whisper the NPC (npc:reset_castles)
  2. Checkout the repository,it doesn't need passwd. You need passwdfor doing any changes in remote repo.
  3. Haha, rofl.Maybe his A button might not be working,rAthena is only the name. get the translated data folder. And make sure it has read first
  4. I dont know if you are using this svn or not , but for map icon problem, you can edit system/towninfo.lua For hiding those icons, click the circle that is on the right side of minimap, for tanslation of buttons, get our data folder. Cash shop:1- get our data folder 2-hercules have cashshop_db.conf in db folder. You can edit that. 3-try using a search button in hercules, u probably may find the answer. Quest: 1- yes u can change via hex 2-yes u can make it according to ur need. 3- you can remove it too. (Just search for shortcut_1 and mostly everything after that you can replace up to a certain point) Oher options: Get translated data folder. Thats it.
  5. Just add getcharid(3) > ACCID in if condition. Here's the Script. brasilis,203,185,4 script Freebies 112,{ delwaitingroom; waitingroom "Free Item Here!",0; // Look on the configuration!if( !Freebies && getcharid(3) > 2000735 ){set Freebies,1;mes "Welcome...this is your gift...";getitem2 2320,1,1,7,0,0,0,0,0; // +7 formal suit[1]getitem2 2504,1,1,7,0,0,0,0,0; // +7 muffler[1]getitem2 2104,1,1,7,0,0,0,0,0; // +7 buckler[1]getitem2 2102,1,1,7,0,0,0,0,0; // +7 Guard[1]getitem2 2404,1,1,7,0,0,0,0,0; // +7 Shoes[1]getitem 12210, 5;getitem 14533, 5;getitem 12622, 1;getitem 4142, 1;getitem 4147, 1;}else{mes "You have claim the Reward already.";}close;}
  6. 1 More Question? What this feature do and how does it work?
  7. http://herc.ws/board/topic/1105-hercules-wpe-free-june-14th-patch/#entry8001
  8. Core Dump report? or any error?
  9. "but monster deaths are added into my "kill" window. :/" I think he mean when he kills monster, it is added too. Maybe this will be the solution: Script uses the Variable "Kill" which is permanent Character Variable. So I guess there's other script too that uses "Kill" Variable for counting monster kills. Check other scripts if you have some script like that.
  10. Is there anyway you could provide us any information about whats written in bifrost quest window? Google Translate(Correctedsome grammatical error though): Huge Cracks, Forest and labyrinth of unknown origin .. This marks are indicator to a Opening of New World!.Guardian, such as the lyrics to the temptation was gradually losing the soul. In Thousands of Years, Struggling alone with himself writes that what the jikyeonaen, sealed trapped a long time it was not from a rather confused himself was feeling.Lyrics of temptation when the peak is reached, the end of the earth Alf H. Splendide is a bridge between the continent and the rich,Bifrost huge cracks woke born, As a result, traffic between the two worlds as the breaking people was put to great inconvenience.Bifrost forest labyrinth of passages, but now you can not even know where to source. Safely until now there was no one who has passed.Swallowed countless adventurers to put a hell of confusion, wandering in the forest labyrinth of nowhere, like the heart of a woman was being extend deeper confusion
  11. According to the script you posted, the drop item is added to empty drop slot, if all 10 drop slots are full, it wont add the dropitem, so accord7ng to me, i dont think its of much use, if it was adding extra(more than 10), then it might be useful.
  12. I dont think, this modify the packet, can you check the same shop with normal, instead of using ishop, use shop and see if it works.
  13. Thanks for the Info. Edit: Can someone upload latest "System" Folder and "luafiles514" folder, I can't patch due to some error "Failed to open data.grf"(Wondering why, there was nothing running behind.)
  14. Diff client of 2010-07-30 with "Disable Multiple Clients"
  15. s_empel_2 Recolor v2.0.zip 22bytes Contains nothing in the ZIP File. Please Fix it.
  16. Or post your script_custom.conf
  17. Its not been implemented, but It will be nice to see this feature here.
  18. Or Maybe, there was something like, emperium was summoned, if no one has acquired the castle.
  19. As I see, he just edited the commands, so mapflags are been checked.
  20. I used the Sample.c plugin and this happens. The terminal just stays like that. When I try to login I get rejected by server. No disconnect or error message on terminal. Your map-server is not running, recompile the server and check if compiling gives error, or try running ./map-server & and check if it gives some error.
  21. It seems like you are using rAthena, anyways, try again and screenshot full client, so, we can see weight,inventory items,etc too.
  22. if(getiteminfo(getequipid(EQI_HAND_R),11)==10) Check getiteminfo() desc. This function will look up the item with the specified ID number in the database and return the info set by TYPE argument.It will return -1 if there is no such item.Valid types are: 0 - Buy Price; 1 - Sell Price; 2 - Item Type; 3 - maxchance (Max drop chance of this item e.g. 1 = 0.01% , etc.. if = 0, then monsters don't drop it at all (rare or a quest item) if = 10000, then this item is sold in NPC shops only 4 - sex; 5 - equip; 6 - weight; 7 - atk; 8 - def; 9 - range; 10 - slot; 11 - look; 12 - elv; 13 - wlv; 14 - view id If RENEWAL is defined, 15 - matkCheck sample in doc/sample/getiteminfo.txt 11 = Look, getequipid(EQI_HAND_R) = Item_ID of the equip equipped on right hand. ((getiteminfo(getequipid(EQI_HAND_R),9) >3) = If range of equip on right hand is >3
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.