Jump to content

Dastgir

Script Developers
  • Content Count

    3805
  • Joined

  • Last visited

  • Days Won

    250

Everything posted by Dastgir

  1. There's button before Quote, to put a codebox end; //<- Also I don't know if I have to put end; instruction, because I already have a close; above. Do I? Nope, you are not required to put end; after close; since close will stop the script execution. About Back, Something Like THis: L_SomeLabel:mes "What you want to do";switch ( select ("Thing 1:Thing 2")){ case 1: mes "You selected thing 1"; next; mes "What you want to do?"; switch ( select ("Thing 3:Back")){ case 1: mes "You selected thing 3"; close; case 2: next; goto L_SomeLabel; end; } case 2: mes "You selectend thing 2"; close;}
  2. For me , they had opened the neccessary ports. Ubiquity Hosting is also well known. Ubiquity and skynet, both does not include domain with webhost, so you have to buy it alone(I guess is 10-12$/year) myhostblast => Haven't heard of them yet.
  3. prontera,150,150,5 script TempSet 999,{@var = 1;.@var = 1;mes "Value has been Set";close;}prontera,148,148,5 script TempGet 999,{mes ".@var:"+.@var;mes "@var:"+@var;close;} Above is example. @var will be set till the character logs off(as said temporary) .@var is set until the script execution,(i.e for that instance), that is if the script execution is stopped, .@var will be set to 0 again. If you click on TempSet First(NPC Above), it will set both vars to 1. then Click on TempGet, it will show @var as 1 and not .@var, since its new script been executed.
  4. Busy this month! Don't PM Me this month,

  5. Try This: http://upaste.me/8c6b13707d21706ec
  6. Please don't bump too fast, Its not even 12 hours since your topic, You need translated iteminfo for items to be translated
  7. Load different npc? maybe you can add checks like if (LANG == 1) fetch all english texts, and save to variable, if (LANG==2) fetch other lamg texts. and use those variables in mes.
  8. VIP System is applied, but it displays message on login and not on map change. For Diplaying Message at every map change: clif.c find if( sd->state.changemap ) {// restore information that gets lost on map-change Add Below clif->show_modifiers(sd);And remove the one from pc_scdata_received(so you do not receive double message at login)
  9. Maybe its your Job Master giving you platinum skill? or the Platinum Skill NPC?
  10. - script LMS -1,{OnMinute52:// Edit this to what ever you want. note : OnClock0000 is 12 midnight and OnClock1200 is 12 Noongoto startlmsevent;startlmsevent:pvpoff "guild_vs5";announce "Mr. Manager: The Last Man Standing event will be starting shortly.",0;sleep2 5000;announce "Mr. Manager: Those who want to play, please proceed to Prontera and Register.",0;sleep2 5000;announce "Mr. Manager: After 1 Minute the Registration will close.",0;enablenpc "All Job Manager";initnpctimer;end;OnTimer30000:pvpoff "guild_vs5";announce "Mr. Manager: Last 30 seconds.",0;sleep2 5000;announce "Mr. Manager: If you want to join please Register in Prontera.",0;end;OnTimer50000:pvpoff "guild_vs5";announce "Mr. Manager: Last 10 seconds.",0;end;OnTimer55000:pvpoff "guild_vs5";announce "Mr. Manager: 5.",0;end;OnTimer56000:pvpoff "guild_vs5";announce "Mr. Manager: 4.",0;end;OnTimer57000:pvpoff "guild_vs5";announce "Mr. Manager: 3.",0;end;OnTimer58000:pvpoff "guild_vs5";announce "Mr. Manager: 2.",0;end;OnTimer59000:pvpoff "guild_vs5";announce "Mr. Manager: 1.",0;end;OnTimer60000:pvpoff "guild_vs5";announce "Mr. Manager: Time's up.",0;end;OnTimer61000:pvpoff "guild_vs5";disablenpc "All Job Manager";donpcevent "Mr. Banker::OnEnable";stopnpctimer;end;}//---------All Job Registration---------------prontera,87,50,5 script All Job Manager 106,{mes "[Mr. Manager]";mes "Hello What can I do for you?";next;menu "Register",-,"What is LMS?",what,"Leave",leave;next;mes "[Mr. Manager]";mes "Thankyou for registering Mr. " + strcharinfo(0) + ", Have fun!";warp "guild_vs5",0,0;end;what:mes "[Mr. Manager]";mes "LMS is also known as Last Man Standing Event";next;mes "[Mr. Manager]";mes "LMS is also like a PvP.";mes "The only difference is at LMS you will get 50 HPRO Point if you are the Last Man Standing at the arena.";next;mes "[Mr. Manager]";mes "That's all";close;leave:mes "[Mr. Manager]";mes "I hope you will register next time";close;OnInit:disablenpc "All Job Manager";end;}//--------------------------//--------------------------guild_vs5,49,49,6 script Mr. Banker 56,{mes "[Banker]";mes "Congrats. You've won.";next;announce "Mr. Manager: We have a winner! well done "+strcharinfo(0)+".",0;getitem 7227,5; // Change This item id to what ever you want . item id,amountdispbottom "You Received 5x TCG Card for winning the LMS Event.";mes "You will return now";warp "prontera",86,51;disablenpc "Mr. Banker";close;end;OnEnable:mapannounce "guild_vs5","Mr. Manager:The Last Man Standing Event will start shortly",0;sleep2 5000;mapannounce "guild_vs5","Mr. Manager:But before we start this is just a few reminders..",0;sleep2 5000;mapannounce "guild_vs5","Mr. Manager:Using Cloaking , Hiding is strictly not allowed..",0;sleep2 5000;mapannounce "guild_vs5","Mr. Manager: Only the Last Man Standing will win this event!!",0;sleep2 5000;mapannounce "guild_vs5","Mr. Manager: What are we waiting for?..Let's Get Ready to Rumble!!...",0;sleep2 5000;goto L_Start;end;L_Start:if(getmapusers("guild_vs5") == 1) goto L_Champ;if(getmapusers("guild_vs5") == 0) goto L_None;if(getmapusers("guild_vs5") > 1) {mapannounce "guild_vs5","Mr. Manager: Get ready at the count of 5 we will start!....",0;sleep2 5000;mapannounce "guild_vs5","Mr. Manager: 5",0;sleep2 5000;mapannounce "guild_vs5","Mr. Manager: 4",0;sleep2 4000;mapannounce "guild_vs5","Mr. Manager: 3",0;sleep2 3000;mapannounce "guild_vs5","Mr. Manager: 2",0;sleep2 2000;mapannounce "guild_vs5","Mr. Manager: 1",0;sleep2 1000;pvpon "guild_vs5";goto timer;end;}timer:initnpctimer;end;OnTimer1000:end;OnTimer1100:if(getmapusers("guild_vs5") == 1) goto L_Champ;if(getmapusers("guild_vs5") > 2) goto timer;if(getmapusers("guild_vs5") == 2) goto champ;stopnpctimer;end;champ:announce "Mr. Manager: Last 2 Brave warriors are still alive!",0;sleep2 10000;if(getmapusers("guild_vs5") == 1) goto L_Champ;if(getmapusers("guild_vs5") > 1) goto timer;end;L_Champ:mapannounce "guild_vs5","Mr. Banker: Please talk to me to get your prize..",0;pvpoff "guild_vs5";enablenpc "Mr. Banker";end;L_None:disablenpc "Mr. Banker";pvpoff "guild_vs5";end;OnInit: disablenpc "Mr. Banker"; end;}//----- Die = warp prt ------ script Killa_warp -1,{OnPCDieEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="guild_vs5") { set #kill_point, 0; announce ""+strcharinfo(0)+" died, and out of the game!.",bc_all; warp "prontera",0,0; end; }OnPCKillEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="guild_vs5") { set #kill_point,#kill_point+1; if ( #kill_point % 4 == 0) { announce ""+strcharinfo(0)+" have made 4 Consecutive Kills!!He will be granted an item",bc_all; getitem 607, 50; end; } }}// == Mapflagsguild_vs5 mapflag nowarpguild_vs5 mapflag nowarptoguild_vs5 mapflag noteleportguild_vs5 mapflag nosaveguild_vs5 mapflag nomemoguild_vs5 mapflag nobranchguild_vs5 mapflag pvp_noparty The NPC which hides on OnInit should be loaded later on (also found an typo where it was disabling "Banker" instead of "Mr. Banker"
  11. Exactly, Cards like this does not affect the mob_item_ratio (although the description of text file seems confusion) Here's how the mob_item_ratio works:Suppose you have this "7227,500" (Assuming 7227 is a card with 5% Drop rate)and you put "7227,1000" at mob_item_ratio, then Calculation is like"500*1000/100" Making it 50%.
  12. kRO Uses JT_MONSTER_LAST for limiting ID's ?
  13. src/config/renewal.h //#define DISABLE_RENEWAL uncomment it and recompile.
  14. Use ID's Below 4000 (which you are doing),kRO limits monster ID to below 4000. The MonsterID and the View(at npcidentity) should match. Be sure your sprite name is DRACAUFEU and is at right folder be sure that the lua files (which contains this monster) is on the first GRF that is loaded via DATA.ini (Which I doubt), don't put those files at data folder, put them in first GRF that is loaded. Be sure that your client reads .lua instead of .lub(or else change extension to .lub) I guess 2012 clients read "data/lua files/" folder and 2012+ clients read "data/luafiles514/lua files/" <-- Not too sure, (but if you say you added custom items,skills, so I guess you are in right folder)
  15. Currently no other project are around except roBrowser. (You can also customize roBrowser for new skins and buttons)
  16. If you havent diffed with "Load lua before Lub", then it will read lub file.
  17. Nice Release.. Looks like a Bloody Christmas Map..
  18. https://github.com/ROClientSide/Translation/tree/master/System Sir can you post latest iteminfo.lub for 08072013 client ? I need it. I think the dev mistake. Not me
  19. ZIP File: https://github.com/dastgir/Scripts/archive/master.zip hmm.. did conf2db.bat asked something to put?(filenames?)
  20. You(or creator of custom item) has put ? Instead of " or seriously have forgotton to put " causing that error
  21. From iteminfo, I can easily make a tool, which creates an item, but it will have only few fields namely name,AegisName slots and view. else you have to add.(some important fields like Type and Buy will not be added) if you have itemdb.txt, theres tool avail on hercules main repo to convert it to itemdb.conf P.S: I guess GRF EDITOR have this kind of tool(not too sure).
  22. src/config/core.h /// Comment to disable the official walk path/// The official walkpath disables users from taking non-clear walk paths,/// e.g. if they want to get around an obstacle they have to walk around it,/// while with OFFICIAL_WALKPATH disabled if they click to walk around a obstacle the server will do it automatically#define OFFICIAL_WALKPATH
  23. Edit src/common/mmo.h and change #define PACKETVER yyyymmdd to your client date, and recompile.
×
×
  • Create New...

Important Information

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