Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    248

Posts 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 script
    poring_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. t0rmenti0n:

    Why you keep say "r@thena" ? it is new name of rAthena? o.o

    Haha, rofl.

    Maybe his A button might not be working,rAthena is only the name.

     

    So, just to make sure that we're on the same page here... Those instruction that you've sent is based on Hercules right? Does hercules the same as r@thena? Is it also server or client? Also, does that mean I can only edit those by having Hercules and there's no way for me changing it using my type of server which is r@thena? I tried searching it buy I can't find it... I'm also using the same Client Translation as stated on this thread. Also, what's hex? lol

     

    Good news. I was able to change the Map thingy thanks! It's just the Cash Shop and Quest Window and the Korean Option thingy.

    get the translated data folder. And make sure it has read first

  3. 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.


  4.  

    how to make this freebies script will only gave freebies for those account credited after account id 2000735? below that account will not be given any freebies.

     

    brasilis,203,185,4	script	Freebies	112,{	delwaitingroom;	waitingroom "Free Item Here!",0;   // Look on the configuration!if( !Freebies ){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;}

    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;}

  5.  

    change

    OnPCDieEvent:if(.System){

    to

    OnPCDieEvent:if(.System && killerrid > 2000000 ){

    "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.


  6.  

    To follow-up it can be found in any unpacked ragexeRE/ragexe that supports this new quest window. Just search for shortcut_1 and mostly everything after that you can replace up to a certain point

    Is there anyway you could provide us any information about whats written in bifrost quest window?

     

     

     

    />

    >This one can be found inside unpacked ragexe

     

    5_zps742267bb.jpg

     

    you can change it by searching "shortcut".

     

     

     

    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 

     


  7. the code I posted is the current one we got (commented out and marked as WIP) the rAthena one is here

    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.


  8.  

    Missing translations for helpmsgstr.lua:

     

    "Hunting and Equipment quests are available through the Eden Group. Find them via the '+' mark on the mini-map of each city.",
    " -------------- Navigation Instructions -------------- ",
    "/navigation    /navi  :  /navi yuno 100/100           ->> Map, location(100/100)",
    "/navigation2  /navi2 :  /navi2 yuno 100/100 1/1/1 ->> Map, location(100/100), Scroll/Service/Plane (1: Enable 0: Disable)",
    " -------------- Navigation Search Commands ------- ",
    "$$all         : Outputs all the results (Type of navigation can be specified).",
    "$$lv30       : Monsters of that level are displayed (Amount may vary).",
    "$$lv20~30  : Monster of that level range are displayed (Amount may vary)."
     
     
    When it says 'find them via the + mark' it's referring to the showevent script command which adds quest bubbles to NPCs. This feature isn't added to NPCs yet as of this post date.

    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.)


  9.  

    Does your char server go down/unable to connect to/map server doesnt connect to/ seems to stall? (aka kill the proccess and it doesnt go down?)

    I used the Sample.c plugin and this happens.

    Untitled_zpsf4433a2e.png

    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.


  10.  

    The weight is less than 50%  :/

     

    #edit: i just have 10 itens in my bag.. a knife.. cotton shirt.. and 8 itens got by mobs

     

     

    w4t.png

     

    I took a screenshot with autoloot 100% .. and this Lunatic dropped the itens straight to  the ground..  but sometimes autoloot works .. look: you got Apple(1)

    It seems like you are using rAthena, anyways, try again and screenshot full client, so, we can see weight,inventory items,etc too.


  11. 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.