Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/23/12 in Posts

  1. !!THIS SCRIPT NEED INSTANCE SYSTEM!! [media=] [/media]!!THIS SCRIPT NEED INSTANCE SYSTEM!! Download Script : MVPTower2.rar Download Map : http://bit.ly/RsA9gE'>http://bit.ly/RsA9gE ; http://goo.gl/Xa2c3'>http://goo.gl/Xa2c3 1@gvs 2@gvs 3@gvs 4@gvs 5@gvs !!THIS SCRIPT NEED INSTANCE SYSTEM!! Please don't forget add instance map : (data\resnametable.txt) http://rathena.org/wiki/Instancing'>http://rathena.org/wiki/Instancing !!THIS SCRIPT NEED INSTANCE SYSTEM!! Specify each level: Mvp Amount & type: (ex:level Easy:only spawn mob-id 1002&1001 ,10 level and each level spawning amount >> 1,2,3,4,5,6,7,8,9,10) function Onmvp { ... case 1: deletearray 'mvp[0],128; setarray 'mvp,1002,1001; setarray 'num[1],1,2,3,4,5,6,7,8,9,10; return; !!THIS SCRIPT NEED INSTANCE SYSTEM!! Reward: (ex:Levle Esay) (ex:get 10k zeny or item-id 607 * 100) open 'MVPTower2_Reward_1.txt' - script MVPTower2_Reward#1 -1,{ OnSelect: switch(select("Zeny","Item")) { case 1: set Zeny,Zeny+10000; break; case 2: getitem 607,100; break; !!THIS SCRIPT NEED INSTANCE SYSTEM!!
    1 point
  2. First of all download Alexandria's Renewal Data Folder EXAMPLE: [ACCESSORY_IDs.ACCESSORY_BUNNYBAND] = "_�䳢�Ӹ���", HOW TO ADD: [ACCESSORY_IDs.ACCESSORY_HEADGEARNAME] = "_SPRITENAME", <<<<---- UNDERSCORE+SPRITENAME +COMMA don't forget it! We're now done on how to add the "SPRITE"... next step.... goto: luafiles514/lua files/data info/accessoryid.lua EXAMPLE: ACCESSORY_BUNNYBAND = 15, HOW TO ADD: ACCESSORY_HEADGEARNAME = ViewID, <<--- + comma.. ----///// we need to use the ViewID later! and also the HEADERGEARNAME We're now done on how to add the "ViewID" :::NEXT STEP::: File to edits: idnum2itemdesctable.txt idnum2itemdisplaynametable.txt idnum2itemresnametable.txt ABOUT THE: idnum2itemdesctable.txt num2itemdesctable.txt I KNOW! YOU ALREADY KNOW HOW TO ADD/EDIT THAT ONE! 1st STEP: idnum2itemdisplaynametable.txt 2214#Bunny_Band# how to add: ITEMNUMBER#CLIENTITEMNAME# 2nd STEP: idnum2itemresnametable.txt 2214#�䳢�Ӹ���# how to add: ITEMNUMBER#SPRITENAME# <<<----so the sprite name! you need to remove the UNDERSCORE for it... 3rd STEP: num2itemdisplaynametable.txt ITEMNUMBER#SPRITENAME# <<<----so the sprite name! you need to remove the UNDERSCORE for it... how to add: ITEMNUMBER#HAT# --------------- 4th STEP: num2itemresnametable.txt 2214#�䳢�Ӹ���# how to add: ITEMNUMBER#SPRITENAME# Server Side: go to your db/item_db.txt or item_db2.txt 2214,Bunny_Band,Bunny Band,5,20,,100,,2,,0,0xFFFFFFFF,31,2,256,,0,1,15,{ bonus bLuk,2; },{},{} how to add: 2214,Bunny_Band,Bunny Band,5,20,,100,,2,,0,0xFFFFFFFF,31,2,256,,0,1,ViewID,{ bonus bLuk,2; },{},{} ---- remember about the ViewID above? specied your own id!lol And for the finale steps Download luac5.1.4 then download notepad++ open it click file>save as>batch>file type as .bat after save it this will look alike as you notice there is already accessoryid.lua and accname.lua meaning withtin that folder those .lua will convert in .lub even how many .lua's you got in that folder. so open the batch this will pop up after opening it after that press any key as what cmd said then poop the two lua file it become lub then you are done put the .lub in your luafiles514 > lua file > datainfo and you are done NOTE: You have to make sure that you have latest data folder!!!! to avoid other errors
    1 point
  3. The SVN I use is 3CeAM based but has many features of rA that I merged myself. I went ahead and created a patch for the latest checkout of rA: mob_controller_rA_17035.patch The only changes I made were giving the mobspawn() script command support for NPC events and spawning in instances. Also, I tried your suggestion in the other topic and it didn't work the entire time. Sometimes the monsters would run through while other times the monster would go along and then stop. MobCreator: for (set .c,0; .c < 'wave_amount; set .c,.c + 1) { if ('wave_stop) end; sleep 300; set .gid,mobspawn(getmonsterinfo(.mobid['wave],0),.mobid['wave],"1@def01",50,74,instance_npcname("#Spawn Controller", instance_id())+"::OnWaveMobDead"); setmobdata .gid,8,100; // Set movement speed equal to all. setmobdata .gid,9,1; // Set mob mode to just MD_CANMOVE. setmobdata .gid,26,0; // Remove random walk. unitwalk .gid,50,62; sleep distance(50,74,50,62) * 100; unitwalk .gid,50,49; sleep distance(50,62,50,49) * 100; unitwalk .gid,50,37; sleep distance(50,49,50,37) * 100; unitwalk .gid,50,23; sleep distance(50,37,50,23) * 100; } return;
    1 point
  4. So erst einmal, ein bisschen kannst du doch wohl selbst suchen, du brauchst nicht direkt anzufangen rumzuflamen. Jemand macht sich die Mühe das ganze zu schreiben und du findest etwas zum rummeckern, ist ein Link kaputt fragt man höflich nach nem reupload. Außerdem ist das hier rAthena und nicht eAthena, wenn du Probleme mit einer anderen Software als rAthena hast, geh bitte und frag da nach Hilfe. Also erstmal , lern bitte Deutsch. Zum zweiten habe ich nicht rumgeflamet, ich habe nur erwähnt das in jedem Tutorial min. 1 kaputter link ist. Und zum dritten, kann man auf der eAthena Homepage nichts mehr schreiben/posten/fragen sondern nur noch nachlesen, und ich dachte mir , dass hier evtl. einige Leute aktiv sind die auch mit eAthena gearbeitet haben und die Lösung kennen. Das hier ist das was Flaid meinte,du solltest auch mal selber ein bisschen suchen können,dann findest du heraus,das man in eAthena immer noch neue Topics machen kann und auch immer noch die Möglichkeit hat Hilfe zu bekommen,was ich dir aber nicht empfehlen würde,da rAthena wirklich ein viel stärkeres und weitergebildetes Team hat und auch immer auf dem letzten Stand ist. Deswegen Lösung Nummer 1 : Schaff dir rAthena an. Zu dem von Rynbef , im großen und ganzen hat er Recht. Dein Client sagt dir damit im Prinzip,das deine LUA/LUB Dateien nicht zu dem Clienten passen,also outdated sind. Erklär uns doch mal welchen Client du benutzt,welche LUA/LUB Dateien du benutzt und schaff dir erstmal rAthena an,weil mit eAthena ist es eine andere Sache als würdest du rAthena benutzen. Danke.
    1 point
  5. An deiner Stelle würde ich mir rAthena zulegen, da rAthena einfach besser und viel weiterendwickelt ist. Aufgrund der Fehlermeldung lässt sich ein Fehler in den Lua's vermuten. Es kann auch sein das dein Full Client zu alt ist(kRO). Rynbef~
    1 point
  6. "Not available"? As in, when you do @monster 3004, does the server spit out any error saying "Mob not found" or something? Because if it does, it's a server side issue. If it does work and you can summon the mob but the sprite isn't showing etc. it's a client issue.
    1 point
  7. Wrong. Argument = 1 --> call shop ID = 1 // Shop NPCs -- supplying no argument displays entire menu. // callfunc "qshop"{,<shop ID>{,<shop ID>{,...}}}; //============================================================ que_moc_16,95,89,4 script Zero#1 688,{ callfunc "qshop"; } que_moc_16,97,89,4 script Zero2 688,{ callfunc "qshop",1; } // ----------------------------------------------------------- // Quest items -- do NOT use a reward item more than once! // Add(<shop ID>,<reward ID>,<reward amount>, // <Zeny cost>,<point cost>, // <required item ID>,<required item amount>{,...}); // ----------------------------------------------------------- Add(1,5022,1,0,0,7086,1,969,10,999,40,1003,50,984,2); Add(1,5032,1,0,0,1059,250,2221,1,2227,1,7063,600); Add(1,5027,1,0,0,2252,1,1036,400,7001,50,4052,1); Add(1,5045,1,0,0,2252,1,1054,450,943,1200);
    1 point
  8. I dunno what you want to do, maybe something like this ? prontera,156,173,5 Script Text 77,{ if( .busy ) end; if( !.sw ) mes "the first."; else mes "the second"; set .sw, !.sw; close2; initnpctimer; set .busy, 1; end; OnTimer10000: set .busy, 0; stopnpctimer; end; }
    1 point
  9. Well technically most of us spriters and mappers use gravity's stuff. Although I can not take the credits to the poring base, whatever edits I do to these sprites DO belong to me. Anyways, thank you. Thanks, and yes it is 1 act 1 sprite= a monster. therefore it is $35.
    1 point
  10. Don't quote the database insertion word for word... it's pretty old. I suggest you just add in your own values. Im just showing my old one as an example as what I did in the past.
    1 point
  11. What I did for myself: Mob folder: my mob's name is autumncat with its SPRITE/ACT Jobname.lua --> [jobtbl.autumncat] = "autumncat", Npcidentity.lua --> ["autumncat"] = 2000, Coverter both LUAs to LUB cause I didn't have my client read Luas. Restarted my server, did @monster 2000, and I had it working. (When I had this 2000 ID for my Mob, we didn't have the new ones out yet) Finally, for my DB, I had it in a SQL Db format... =/ don't think it'd help since yours isn't... but here it is anyways (pretty old format since it still uses the EXPPer column still). (2000,'AUTUMNCAT', 'AutumnCat', 'AutumnCat', 999, 15000000, 0, 107250, 3785, 4, 9500, 15000, 34, 35, 5000, 5000, 96, 5000, 5000, 5000, 10, 10, 2, 6, 67, 1973, 100, 1068, 768, 576, 13000, 5000, 608, 1000, 750, 400, 923, 3800, 1455, 200, 2256, 200, 2607, 800, 714, 500, 617, 3000, 984, 4300, 985, 5600, 20236, 1, 0, 0, 4147, 1)
    1 point
  12. You need to have the mob sprite in the mob folder as well.. client side. Also, making sure, are you making your server read SQL tables or Not? If so, you gotta make sure your mob is in the SQL database. Nevertheless, make sure that your mobID is the same in your luas/mobDB. For me, I've never seen any diff or know about a limit on custom mobs for the client... I only know the limit for custom items. Is your client diffed to read LUAs first? What's your clients date?
    1 point
  13. hi, i try the edit but i´m not good with the fonts xD hope server ^^" Micz_Cap.rar
    1 point
  14. This script could be written in a very small fraction of your lines. Instead of repeatedly copying the same code to get card names, call a function. You really don't need conditionals for all 13 card cases to begin with. Instead of re-summing point total each draw, store the previous value. Since this is a paid script, also, you should make it easier to edit prizes, or at least explain in the description what they are.
    1 point
  15. @zhaosin try to restart the map-server and load on init. reload ingame will mess it up.
    1 point
  16. Because some of your GRF have 2 IZLUDE.RSW/etc. Example: Renewal Data.GRF = Izlude Renewal and YourRO.grf = Izlude Pre-Renewal/Edited <--- remove the izlude files on that GRF
    1 point
  17. Querrás decir segurO. Una vez nos reiamos por irc porque decian que te hacias pasar por mujer aún. Yo no me lo creia después del topic que hice, hay que tener la cara.
    1 point
  18. @2834, u should import the sql files on the ragnarok database. then u execute. after that pastu the script. and load it on your game .done.
    1 point
  19. Just saying, but you know that an IP contains "." right? Those are not numeric so you need "$" at the end of "@RIDIP" > "@RIDIP$" Also query_sql "INSERT INTO On_ip_table ("+@RIDIP+")"; is wrong, well as far as I know. Correct format: query_sql "INSERT INTO `On_ip_table` (`last_ip`) VALUES ('"+@RIDIP$+"')"; Note: " ` " is an habit of mine to use them always, official format. :I Yours is the faster way , but well. I noticed also that "dispbotton" is false written > "dispbottom" Here is my version: - script Dont_allow_2_clients -1,{ end; OnPCLoginEvent: query_sql "SELECT last_ip FROM login WHERE account_id = "+getcharid(3)+"",@RIDIP$; // Checking if the IP isn't inserted into the On_ip_table if(query_sql("SELECT `last_ip` FROM `On_ip_table` WHERE `last_ip` = '"+@RIDIP$+"'",.@ip_check$) == "") // If not inserted yet, do it..... query_sql "INSERT INTO On_ip_table (`last_ip` ) VALUES ('"+@RIDIP$+"')"; query_sql "UPDATE On_ip_table SET ips_online = ips_online + 1 WHERE last_ip = "+@RIDIP$+""; query_sql "SELECT ips_online FROM on_ip_table WHERE last_ip = "+@RIDIP$+"",@TIMESON; if(@TIMESON >= 2) { dispbottom "[staff]"; dispbottom strcharinfo(0)+" you can't log with two windows opened"; dispbottom "I need kick you now"; sleep2 5000; // Just to the player read. atcommand "@kick "+strcharinfo(0); } end; OnPCLogoutEvent: // No need for this line since the variable "@RIDIP$" will be cleared on logout or when you overwrite it, // and I don't believe that the IP changes while being ingame //query_sql "SELECT last_ip FROM login WHERE account_id = "+getcharid(3)+"",@RIDIP$; query_sql "UPDATE on_ip_table SET ips_online = 0 WHERE last_ip = "+@RIDIP$+""; end; OnInit: CREATE TABLE IF NOT EXISTS on_ip_table (last_ip varchar(100) NOT NULL default '',ips_online int(11) NOT NULL DEFAULT '0',PRIMARY KEY (`last_ip`)) ENGINE=MyISAM AUTO_INCREMENT=2000000;// SET THE ENGINE MAKE THE TABLE BE ACESSED FASTER } That SQL code is in my opinion for people who have a better knowledge of MySQL. The Diff is against Dual Clients, but what about when someone has 2 Computers? Regards, Chris
    1 point
  20. Add this in atcommand.c ACMD_FUNC(clear) { int i; if(!message || !*message) { clif_displaymessage(fd,"Usage: @clear inventory|cart|storage|gstorage"); return 0; } if (sd->state.storage_flag == 1) { clif_displaymessage(fd, msg_txt(250)); return -1; } if (strcmp (message,"cart") == 0){ nullpo_retr(-1,sd); if (pc_iscarton(sd) == 0) { clif_displaymessage(fd, msg_txt(1396)); // You do not have a cart to be cleaned. return -1; } if (sd->state.vending == 1) { //Somehow... return -1; } for( i = 0; i < MAX_CART; i++ ){ if(sd->status.cart[i].nameid > 0){ pc_cart_delitem(sd, i, sd->status.cart[i].amount, 1, LOG_TYPE_OTHER); } } clif_clearcart(fd); clif_updatestatus(sd,SP_CARTINFO); clif_displaymessage(fd, msg_txt(1397)); // Your cart was cleaned. return 0; } else if (strcmp (message,"storage") == 0){ int j; nullpo_retr(-1,sd); j = sd->status.storage.storage_amount; for (i = 0; i < j; ++i) { storage_delitem(sd, i, sd->status.storage.items[i].amount); } storage_storageclose(sd); clif_displaymessage(fd, msg_txt(1394)); // Your storage was cleaned. return 0; } else if (strcmp (message,"gstorage") == 0){ int j; struct guild *g; struct guild_storage *gstorage; nullpo_retr(-1,sd); g = guild_search(sd->status.guild_id); if (g == NULL) { clif_displaymessage(fd, msg_txt(43)); return -1; } if (sd->state.storage_flag == 2) { clif_displaymessage(fd, msg_txt(251)); return -1; } gstorage = guild2storage2(sd->status.guild_id); if (gstorage == NULL) {// Doesn't have opened @gstorage yet, so we skip the deletion return -1; } j = gstorage->storage_amount; gstorage->lock = 1; // Lock @gstorage: do not allow any item to be retrieved or stored for (i = 0; i < j; ++i) { guild_storage_delitem(sd, gstorage, i, gstorage->items[i].amount); } storage_guild_storageclose(sd); gstorage->lock = 0; // Cleaning done, release lock clif_displaymessage(fd, msg_txt(1395)); // Your guild storage was cleaned. return 0; } else if (strcmp (message,"inventory") == 0){ nullpo_retr(-1, sd); for (i = 0; i < MAX_INVENTORY; i++) { if (sd->status.inventory[i].amount && sd->status.inventory[i].equip == 0) { pc_delitem(sd, i, sd->status.inventory[i].amount, 0, 0, LOG_TYPE_COMMAND); } } clif_displaymessage(fd, msg_txt(20)); // All of your items have been removed. return 0; } else{ clif_displaymessage(fd, "Command Usage: @clear inventory|cart|storage|gstorage"); return 0; } } and Add this, ACMD_DEF(clear), Hope you know where to put it.! I won't suggest "all" option.
    1 point
  21. You import the SQL Code provided with this script directly into your main directory, the same directory all of your other ragnarok SQL files were originally imported to.
    1 point
  22. 1 point
  23. Completando info: la HP es mayor la mostrada debido a que uso el anillo para lanzar esta skill.
    1 point
  24. More Extra Info: MOB: xm_celine_kimi xm_cookie xm_cruiser xm_hylozoist xm_lude xm_marionette xm_mystcase xm_teddy_bear xm_tree NPC: 4_ropepile 4_woodpile 4_nonmystcase 4_m_tamarin ****Este esta en la carpeta NPC no en la carpeta de mob's: 4_m_death 4_m_cookie 4_m_believer02 4_m_believer01 4_m_antonio 4_ghost_stand 4_ghost_collapse 4_f_skull06girl 4_f_kimi 4_f_believer01 4_cookiehouse 4_brickpile
    1 point
×
×
  • Create New...