Jump to content

michaelsoftman

Members
  • Posts

    410
  • Joined

  • Last visited

Everything posted by michaelsoftman

  1. for(set .@i,1; .@i<.@size; set .@i,.@i+2 )
  2. for (set .@i,0; .@i >= 2; set .@i,.@i+2) I think this is what you're after? Your question wasn't so clear.
  3. The items are loaded through iteminfo.lua so you have to find an English version of that.
  4. You have to edit resnametable.txt I think, in /data/ in your client folder.
  5. Your LUA files aren't up to date for your client.
  6. You just type ./athena-start start Into Putty or WinSCP or whatever you're using to connect to start the RO server.
  7. Some harmony clients can't be diffed to view above 1000 headgear viewIDs also. If you have more than 100 or so, you'll have gone past 1000 (official ones stop around 850 or something) so that could be it.
  8. Whatever server you do make, don't be like everyone else and shut it down in less than 2 months
  9. Hmm, I tried putting it in XP compatibility mode, doesn't seem to work still. I will mess around with it more in the morning when I'm not tired.
  10. I am editing an act I downloaded for a custom mob. When I put the mob in game, and it walks, it plays the walking sound much much too fast, it repeats like 5 times per second. I can't seem to change the sound or replace it at all in Actor2 though, no change I make seems to do anything. So for right now I deleted the sounds, and the mob works fine but is completely silent. Can someone tell me how to add sounds? I know to add them through the Edit menu, and you can select them from a dropdown list, but they do not seem to stay there and the changes don't seem to save.
  11. I'm pretty sure you can diff up to 255 hairstyles in some clients? Try using the 2012-04-10a client, it's pretty stable. Can't really answer your other questions, just back up your work, try and see!
  12. The sprites themselves are in any updated GRF you will find. But eAthena doesn't have the code to make them appear I don't think.
  13. What are you having problems with specifically? eAthena is not adding 3rd jobs and stuff as far as I know so you will never have the mounts there.
  14. After the if (agitcheck() == 0) { Code } Put an else { statement and just put whatever you want in there to show up while WOE is running.
  15. merullian,109,101,4 script Buffer 794,{ L0: mes "[ ^8B0000Buffer^000000 ]"; mes "Hallo,"; mes "^000000hier kannst du ^00FF00normale Buffs^000000 und ^FF0000Full Buffs^000000 bekommen."; mes "^FF0000Full Buffs^000000 kosten dich aber einen ^FF69B4Strange Snowball.^000000"; menu "Normal Buff", L1, "Full Buff", L2, "Was ist ein Strange Snowball?", L3; // low buff // L1: percentheal 100,100; specialeffect2 100; sc_start SC_INCREASEAGI,900000,10; sc_start SC_BLESSING,900000,10; sc_start SC_MAGNIFICAT,900000,10; next; mes "[ ^8B0000Buffer^000000 ]"; mes "Welche Waffenverzauberung möchtest du?"; set .@i, select("Feuer Waffe:Eis Waffe:Blitz Waffe:Erd Waffe:Holy Waffe")-1; if (.@i<7) { setarray .@SC[0],96,97,98,99,37; sc_start .@SC[.@i],7600000,5; } close; // fullbuff // L2: if (agitcheck() == 0) { if (countitem(12491)<1) goto L7; delitem 12491, 1; setarray .@SC[0],35,40,41,72,73,74,75,110,115,120,121,21,23,29,30,32,151; for(set .@i,0; .@i<getarraysize(.@SC); set .@i,.@i+1) sc_start .@SC[.@i],1200000,(.@i>10)?10:5; specialeffect2 908; specialeffect2 909; specialeffect2 910; percentheal 100,100; next; mes "[ ^8B0000Buffer^000000 ]"; mes "Du erhälst ^FF0000Full Buffs^000000."; next; mes "[ ^8B0000Buffer^000000 ]"; mes "Welche Waffenverzauberung möchtest du?"; set .@i, select("Feuer Waffe:Eis Waffe:Blitz Waffe:Erd Waffe:Holy Waffe")-1; if (.@i<7) { setarray .@SC[0],96,97,98,99,37; sc_start .@SC[.@i],7600000,5; } } close; // -> Strange Snowball definition // L3: next; mes "[ ^8B0000Buffer^000000 ]"; mes "Einen ^FF69B4Strange Snowball^000000 erhälst du alle 20 Minuten fürs online bleiben."; mes "Mit diesem kannst du den ^FF0000Full Buff Service^000000 benutzen."; mes "Dabei wird das Item verbraucht."; close; // Strange Snowball needed // L7: next; mes "[ ^8B0000Buffer^000000 ]"; mes "Du hast benötigst 1x ^FF69B4Strange Snowball^000000."; close; L8: mes "[ ^8B0000Buffer^000000 ]"; mes "Welche Waffenverzauberung möchtest du?"; set .@i, select("Feuer Waffe:Eis Waffe:Blitz Waffe:Erd Waffe:Holy Waffe")-1; if (.@i<7) { setarray .@SC[0],96,97,98,99,37; sc_start .@SC[.@i],7600000,5; } close; }
  16. Does rnd() generate a number between 0 and x or 1 and x? In other words, would rnd()%18 generate a random number between 0 and 18 or 1 and 18?
  17. The section you want to edit is int skill_vfcastfix (struct block_list *bl, double time, uint16 skill_id, uint16 skill_lv) Some parts in the beginning about fixed cast, and then this at the end; time = (1 - sqrt( ((float)(status_get_dex(bl)*2 + status_get_int(bl)) / battle_config.vcast_stat_scale) )) * time; Probably replace it with the pre-re cast formula.
  18. I have changed this part of skill.c. From this: if(fixed == 0) { fixed = (int)time * 20 / 100; // fixed time time = time * 80 / 100; // variable time } else if( fixed == 0 ) { fixed = 0; } To this: if( fixed == 0 && sd->class_&JOBL_THIRD){ fixed = (int)time * 20 / 100; // fixed time time = time * 80 / 100; // variable time } if (!sd->class_&JOBL_THIRD) {// no fixed cast time fixed = 0; } And then when I boot up the server, the map server crashes as soon as the char server connects. But I do not get any compile errors or warnings. Any idea why?
  19. Does it give you an error when you equip it? If not, check your 2 lua files. You probably have a typo somewhere.
  20. It's actually not too bad to do, I had that done before out of curiosity. Basically you just have the game check your class, and if you're not a 3rd job, it sets the fixed casting time to 0. Then for the final calculation, you just once again check for 3rd class, and if not, do the pre-re cast time formula.
  21. If you want it to be like 3ceam you have to enable renewal cast then change the part from the source that adds fixed cast onto skills, and make it so that it only adds them onto 3rd class skills.
  22. You need renewal cast enabled for Fixed time to have any effect.
  23. if(sd->class_ == MAPID_DARK_COLLECTOR) Seems to be working perfectly for me, thanks a lot!
  24. mob_once_spawn_sub(struct block_list *bl, int16 m, int16 x, int16 y, const char *mobname, int class_, const char *event, unsigned int size, unsigned int ai) You're missing the Size and AI parameters at the end. But as for your first problem I have no idea.
×
×
  • Create New...