Jump to content

Werdio

Members
  • Posts

    248
  • Joined

  • Last visited

Everything posted by Werdio

  1. Thank you, some dudes of my Server means "long range doesn't work" I can't believe For the GTB: It should kill the Dispell of Randgris but it don't q.q bonus bNoMagicDamage,50;
  2. db/map_index.txt .... prontera2 prt_intr01 prt_intr02 prt_intr002 prt_vilg00 prt_vilg01 prt_vilg02 ..... blaaa src/map/mapindex.h *check* #define MAP_PRTVLG "prt_vilg01" src/map/atcommand.c /*========================================== * @go [city_number or city_name] - Updated by Harbin *------------------------------------------*/ ACMD_FUNC(go) { int i; int town; char map_name[MAP_NAME_LENGTH]; int m; const struct { char map[MAP_NAME_LENGTH]; int x, y; } data[] = { { MAP_PRTVLG, 99, 75 }, // 0=Prontera Village ..... // get possible name of the city map_name[MAP_NAME_LENGTH-1] = '\0'; for (i = 0; map_name[i]; i++) map_name[i] = TOLOWER(map_name[i]); // try to identify the map name if (strncmp(map_name, "prt_vilg01", 3) == 0) { town = 0; conf/maps_athena.conf map: prontera2 map: prt_intr01 map: prt_intr02 map: prt_intr002 map: prt_vilg00 map: prt_vilg01 map: prt_vilg02 Hmm ..... More Information => Attach Files MAP FILES.rar
  3. I've got a Save Child Script. @go isn't the metter but ON RELOG I don't get warped on the last Savepoint "prt_vilg01" You know what I mean? ~.~
  4. /*========================================== * @go [city_number or city_name] - Updated by Harbin *------------------------------------------*/ ACMD_FUNC(go) { int i; int town; char map_name[MAP_NAME_LENGTH]; int m; const struct { char map[MAP_NAME_LENGTH]; int x, y; } data[] = { { MAP_PRTVLG, 99, 75 }, // 0=Prontera Village { MAP_MORROC, 156, 93 }, // 1=Morroc { MAP_GEFFEN, 119, 59 }, // 2=Geffen { MAP_PAYON, 162, 233 }, // 3=Payon { MAP_ALBERTA, 192, 147 }, // 4=Alberta #ifdef RENEWAL { MAP_IZLUDE, 128, 146 }, // 5=Izlude (Renewal) #else { MAP_IZLUDE, 128, 114 }, // 5=Izlude #endif { MAP_ALDEBARAN, 140, 131 }, // 6=Al de Baran { MAP_LUTIE, 147, 134 }, // 7=Lutie { MAP_COMODO, 209, 143 }, // 8=Comodo { MAP_YUNO, 157, 51 }, // 9=Yuno { MAP_AMATSU, 198, 84 }, // 10=Amatsu { MAP_GONRYUN, 160, 120 }, // 11=Gonryun { MAP_UMBALA, 89, 157 }, // 12=Umbala { MAP_NIFLHEIM, 21, 153 }, // 13=Niflheim { MAP_LOUYANG, 217, 40 }, // 14=Louyang { MAP_ASKYDUN, 90, 105 }, // 15=Event Map { MAP_JAIL, 23, 61 }, // 16=Prison { MAP_JAWAII, 249, 127 }, // 17=Jawaii { MAP_AYOTHAYA, 151, 117 }, // 18=Ayothaya { MAP_EINBROCH, 64, 200 }, // 19=Einbroch { MAP_LIGHTHALZEN, 158, 92 }, // 20=Lighthalzen { MAP_EINBECH, 70, 95 }, // 21=Einbech { MAP_HUGEL, 96, 145 }, // 22=Hugel { MAP_RACHEL, 130, 110 }, // 23=Rachel { MAP_VEINS, 216, 123 }, // 24=Veins { MAP_MOSCOVIA, 223, 184 }, // 25=Moscovia { MAP_PRONTERA, 155, 181 }, // 26=Prontera { MAP_MIDCAMP, 218, 240 }, // 27=Midgard Camp { MAP_MANUK, 322, 180 }, // 28=Manuk { MAP_SPLENDIDE, 195, 70 }, // 29=Splendide { MAP_PRONTERA2, 155, 181 }, // 30=Bloody Prontera }; nullpo_retr(-1, sd); if( map[sd->bl.m].flag.nogo && !pc_has_permission(sd, PC_PERM_WARP_ANYWHERE) ) { clif_displaymessage(sd->fd,msg_txt(995)); // You cannot use @go on this map. return 0; } memset(map_name, '\0', sizeof(map_name)); memset(atcmd_output, '\0', sizeof(atcmd_output)); // get the number town = atoi(message); if (!message || !*message || sscanf(message, "%11s", map_name) < 1 || town < 0 || town >= ARRAYLENGTH(data)) {// no value matched so send the list of locations const char* text; // attempt to find the text help string text = atcommand_help_string( command ); clif_displaymessage(fd, msg_txt(38)); // Invalid location number, or name. if( text ) {// send the text to the client clif_displaymessage( fd, text ); } return -1; } // get possible name of the city map_name[MAP_NAME_LENGTH-1] = '\0'; for (i = 0; map_name[i]; i++) map_name[i] = TOLOWER(map_name[i]); // try to identify the map name if (strncmp(map_name, "prt_vilg01", 3) == 0) { town = 0; } else if (strncmp(map_name, "morocc", 4) == 0 || strncmp(map_name, "morroc", 4) == 0) { town = 1; } else if (strncmp(map_name, "geffen", 3) == 0) { town = 2; } else if (strncmp(map_name, "payon", 3) == 0) { town = 3; } else if (strncmp(map_name, "alberta", 3) == 0) { town = 4; } else if (strncmp(map_name, "izlude", 3) == 0) { town = 5; } else if (strncmp(map_name, "aldebaran", 3) == 0) { town = 6; } else if (strncmp(map_name, "lutie", 3) == 0 || strcmp(map_name, "christmas") == 0 || strncmp(map_name, "xmas", 3) == 0 || strncmp(map_name, "x-mas", 3) == 0) { town = 7; } else if (strncmp(map_name, "comodo", 3) == 0) { town = 8; } else if (strncmp(map_name, "juno", 3) == 0 || strncmp(map_name, "yuno", 3) == 0) { town = 9; } else if (strncmp(map_name, "amatsu", 3) == 0) { town = 10; } else if (strncmp(map_name, "kunlun", 3) == 0 || strncmp(map_name, "gonryun", 3) == 0) { town = 11; } else if (strncmp(map_name, "umbala", 3) == 0) { town = 12; } else if (strncmp(map_name, "niflheim", 3) == 0) { town = 13; } else if (strncmp(map_name, "louyang", 3) == 0) { town = 14; } else if (strncmp(map_name, "Askydun", 3) == 0) { town = 15; } else if (strncmp(map_name, "sec_pri", 3) == 0 || strncmp(map_name, "prison", 3) == 0 || strncmp(map_name, "jail", 3) == 0) { town = 16; } else if (strncmp(map_name, "jawaii", 3) == 0) { town = 17; } else if (strncmp(map_name, "ayothaya", 3) == 0) { town = 18; } else if (strncmp(map_name, "einbroch", 5) == 0) { town = 19; } else if (strncmp(map_name, "lighthalzen", 3) == 0) { town = 20; } else if (strncmp(map_name, "einbech", 5) == 0) { town = 21; } else if (strncmp(map_name, "hugel", 3) == 0) { town = 22; } else if (strncmp(map_name, "rachel", 3) == 0) { town = 23; } else if (strncmp(map_name, "veins", 3) == 0) { town = 24; } else if (strncmp(map_name, "moscovia", 3) == 0) { town = 25; } else if (strncmp(map_name, "prontera", 3) == 0) { town = 26; } else if (strncmp(map_name, "mid_camp", 3) == 0) { town = 27; } else if (strncmp(map_name, "manuk", 3) == 0) { town = 28; } else if (strncmp(map_name, "splendide", 3) == 0) { town = 29; } else if (strncmp(map_name, "prontera2", 3) == 0) { town = 30; } if (town >= 0 && town < ARRAYLENGTH(data)) { m = map_mapname2mapid(data[town].map); if (m >= 0 && map[m].flag.nowarpto && !pc_has_permission(sd, PC_PERM_WARP_ANYWHERE)) { clif_displaymessage(fd, msg_txt(247)); return -1; } if (sd->bl.m >= 0 && map[sd->bl.m].flag.nowarp && !pc_has_permission(sd, PC_PERM_WARP_ANYWHERE)) { clif_displaymessage(fd, msg_txt(248)); return -1; } if (pc_setpos(sd, mapindex_name2id(data[town].map), data[town].x, data[town].y, CLR_TELEPORT) == 0) { clif_displaymessage(fd, msg_txt(0)); // Warped. } else { clif_displaymessage(fd, msg_txt(1)); // Map not found. return -1; } } else { // if you arrive here, you have an error in town variable when reading of names clif_displaymessage(fd, msg_txt(38)); // Invalid location number or name. return -1; } return 0; } Here and thanks for your fast reply !
  5. Hi, i added a new Maintown, arriveable with @go 0. I stay in the Maintown then on relog I appear behind the chruch of Prontera o.O How I can fix that I get to my Maintown and not behind the Prontera chruch? @go 0 works but on relog I don't apper in the Maintown `.´ Here my Source Codes: atcommand.c { MAP_PRTVLG, 99, 75 }, // 0=Prontera Village if (strncmp(map_name, "prt_vilg01", 3) == 0) { town = 0; mapindex.h #define MAP_PRTVLG "prt_vilg01" *le define :3
  6. Hi, I want to know how I can change this card effects so that this effect appear: Golden Thief Bug Card 100% against monsters 50% against Players. { bonus bNoMagicDamage,50; bonus bUseSPrate,100; },{},{} Lord of the Dead Card With LONG RANGE function, so that they can get Coma on long range attacks too. { bonus3 bAddEff,Eff_Stun,500,ATF_SHORT; bonus3 bAddEff,Eff_Curse,500,ATF_SHORT; bonus3 bAddEff,Eff_Silence,500,ATF_SHORT; bonus3 bAddEff,Eff_Poison,500,ATF_SHORT; bonus3 bAddEff,Eff_Bleeding,500,ATF_SHORT; bonus2 bWeaponComaRace,RC_NonBoss,1; bonus bIgnoreDefRace,RC_Ghost; },{},{} I hope you can help meeee :>
  7. Can you give me an example? :<<< Askydun,91,100,4 script Testbuff 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; // 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; if (agitcheck() == 0) { 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; // fbuff // 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 erklärung // 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 benötigt // 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; With example I mean a text which appears if WoE is on.
  8. Ok Nice, thank you and I hope it will work EDIT: Umh a new Question again: I wanted to disable the Weapon (L8) Buff too. Look here: Askydun,91,100,4 script Testbuff 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; goto L8 // THIS GOTO L8 DIDN'T WORK 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: if (agitcheck() == 0) { // ?? 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; And how I can insert a message which says: "While WoE you can't use Full or Weapon Buff"
  9. Just set up to 1000, on 1200 the client will crash (I heard)
  10. Mhh on mmo.h I just changed the maximal storage place. .... (looking in mmo.h) .... I found the error in mmo.h I defined the max Storage ammount to 10.000 one 0 to much xD Sorry for this x.x
  11. reverting? mh, I just edit the itemdb.h and unit.c
  12. Hi, I've got this error on ./athena-start restart or start: [Error]: chrif_authok: Data size mismatch! 12944 != 340624 I can't log in into the map server `.´
  13. Du musst in der src die Kapazität der Sprites erweitern. Fast dasselbe wie bei selbstgemachten Custom Boxen. Leider weiß ich gerade nicht wo man es genau verändern muss >_>
  14. Hi, I want to add a itemscript for a silver coin. I should looks like this: onklick getzeny 1.000.000 I just want to make a usable coin item where you get zeny on klicking. Thank you and sorry for my badass English :S
  15. Okay but how I have to implant this function into my buffer? `.´
  16. Hi, how I can change the maximun ammount of takeable castles to 3 ?
  17. Hi, I want to disable the Full Buff function on WoE. Here is my Buffer script 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 (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; } My WoE Times are Wednesday 8PM and Sunday 7PM Edit: The timing from the WoE Script: setarray .woe_day[0], 3, 6; setarray .woe_0[0], 72000,68400; setarray .woe_1[0], 75600,72000; Lightnng~
  18. Thank you , thats more easy than the other explanations.
  19. I want to turn the ES Skills of the Soul linker off on PVP MAPS AND WOE MAPS. Example: Esma, Eske, Estin ....
  20. Hi, I just want to know how I can turn the ES Skills of the Soul Linker class off? Sry for my bad english ^-^
  21. Werdio

    Running & CT

    I don't edit anything
×
×
  • Create New...