Jump to content

Shindu

Members
  • Posts

    28
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Recent Profile Visitors

2122 profile views

Shindu's Achievements

Poring

Poring (1/15)

0

Reputation

2

Community Answers

  1. Shindu

    Need help.

    okay this is what i have; - script battle_castle#bbase -1,{ OnTouch: sc_end sc_all; percentheal 100,100; specialeffect2 EF_INCAGILITY; sc_start SC_INCREASEAGI,240000,10; specialeffect2 EF_BLESSING; sc_start SC_BLESSING,240000,10; dispbottom "AGI/BLESS Complete - HP/SP Fully Regenerated 100%"; if(Class == 4049) sc_start4 SC_SPIRIT,240000,5,461,0,0; else if(Class == 4018) sc_start4 SC_SPIRIT,240000,5,456,0,0; end; } I got the bless, agi and heal but i didint get the soul link. nvm, its working - script battle_castle#bbase -1,{ OnTouch: sc_end sc_all; percentheal 100,100; sc_start SC_BLESSING,240000,10; sc_start SC_INCREASEAGI,240000,10; dispbottom "AGI/BLESS Complete - HP/SP Fully Regenerated 100%"; switch( Class ) { case /*Job_Stalker */4018: set(.@SL,456); break; case /*Job_Soul_Linker */4049: set(.@SL,461); } if(!.@SL) end; sc_start4 sc_spirit, 240000, 5, .@SL, 0, 0; skilleffect .@SL, 5; end; }
  2. Hey, so i have this; - script battle#base -1,{ OnTouch: sc_end sc_all; } schg_cas06,1,1,6 duplicate(battle#base) battle#1 -1,1000,1000 I want it to dispell everything except bles and agi. I also want it to link only soul linkers and stalkers after the dispell. Can someone please help with this?
  3. Shindu

    Purchase Map

    So at the moment, i cannot buy the map? Really need to purchase this map. Any update on this?
  4. Shindu

    Purchase Map

    Yep done all this, still get the same issue.
  5. Im trying to purchase a map but it keeys telling me this; This field is required on Street Address & Zip/Postcode
  6. I get this when compiling; Line 321 = const char *item_name; Im using latest rAthena GIT, Any suggestions? Also; +// Extended Vending system [Lilith] +700: You do not have enough CashPoint +701: You do not have enough items +702: Seller has not enough space in your inventory +703: Seller can not take all the item +704: You have selected: %s +705: You've opened %s's shop. Sale is carried out: %s +706: Current Currency: %s +707: %s has bought '% Thats all the V.I.P stuff, so it wont read this.
  7. NVM fixed, please close this.
  8. If you was too make a rental item that last 7 days or w.e If you store the item and put it on other characters does the timer stop or does it still disipier after the 7 days?
  9. Did this and it would not compile, gots some errors. Reverted it and it compiles fine.
  10. Hey guys, so ive modified my src/map/atcommand.c file. Ive disabled some @go numbers since im pre-renewal, i dont want them being able to get to them maps. Normally when i use @go on its own it brings up a list of numbers with maps etc After the edit, when i do @go it just takes me straight to prontera, i get no list and then i get this warning message via SSH / Putty. Anything ive done wrong? Here is what ive edited. 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]; int16 m; const struct { char map[MAP_NAME_LENGTH]; int x, y; } data[] = { { MAP_PRONTERA, 156, 191 }, // 0=Prontera { MAP_MORROC, 156, 93 }, // 1=Morroc { MAP_GEFFEN, 120, 67 }, // 2=Geffen { MAP_PAYON, 172, 100 }, // 3=Payon { MAP_ALBERTA, 28, 235 }, // 4=Alberta #ifdef RENEWAL { MAP_IZLUDE, 128, 146 }, // 5=Izlude (Renewal) #else { MAP_IZLUDE, 128, 96 }, // 5=Izlude #endif { MAP_ALDEBARAN, 140, 116 }, // 6=Al de Baran { MAP_LUTIE, 147, 134 }, // 7=Lutie { MAP_COMODO, 189, 159 }, // 8=Comodo { MAP_YUNO, 158, 181 }, // 9=Yuno { MAP_AMATSU, 111, 152 }, // 10=Amatsu { MAP_GONRYUN, 160, 121 }, // 11=Gonryun { MAP_UMBALA, 123, 133 }, // 12=Umbala { MAP_NIFLHEIM, 194, 185 }, // 13=Niflheim { MAP_LOUYANG, 217, 98 }, // 14=Louyang //{ MAP_NOVICE, 53, 111 }, // 15=Training Grounds { MAP_JAIL, 23, 61 }, // 15=Prison //{ MAP_JAWAII, 249, 127 }, // 17=Jawaii { MAP_AYOTHAYA, 218, 175 }, // 16=Ayothaya { MAP_EINBROCH, 158, 311 }, // 17=Einbroch { MAP_LIGHTHALZEN, 159, 95 }, // 18=Lighthalzen { MAP_EINBECH, 43, 208 }, // 19=Einbech { MAP_HUGEL, 96, 115 }, // 20=Hugel { MAP_RACHEL, 130, 102 }, // 21=Rachel { MAP_VEINS, 218, 129 }, // 22=Veins { MAP_MOSCOVIA, 223, 187 }, // 23=Moscovia { MAP_MIDCAMP, 180, 240 }, // 24=Midgard Camp { MAP_MANUK, 311, 180 }, // 25=Manuk { MAP_SPLENDIDE, 198, 175 }, // 26=Splendide //{ MAP_BRASILIS, 182, 239 }, // 29=Brasilis //{ MAP_DICASTES, 198, 187 }, // 30=El Dicastes //{ MAP_MORA, 44, 151 }, // 31=Mora //{ MAP_DEWATA, 200, 180 }, // 32=Dewata //{ MAP_MALANGDO, 140, 114 }, // 33=Malangdo Island //{ MAP_MALAYA, 242, 211 }, // 34=Malaya Port //{ MAP_ECLAGE, 110, 39 }, // 35=Eclage }; 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(sd,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(sd,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, "prontera", 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, "new_1-1", 3) == 0 || strncmp(map_name, "startpoint", 3) == 0 || strncmp(map_name, "beginning", 3) == 0) { town = 0; } else if (strncmp(map_name, "sec_pri", 3) == 0 || strncmp(map_name, "prison", 3) == 0 || strncmp(map_name, "jail", 3) == 0) { town = 15; } else if (strncmp(map_name, "jawaii", 3) == 0) { town = 0; } else if (strncmp(map_name, "ayothaya", 3) == 0) { town = 16; } else if (strncmp(map_name, "einbroch", 5) == 0) { town = 17; } else if (strncmp(map_name, "lighthalzen", 3) == 0) { town = 18; } else if (strncmp(map_name, "einbech", 5) == 0) { town = 19; } else if (strncmp(map_name, "hugel", 3) == 0) { town = 20; } else if (strncmp(map_name, "rachel", 3) == 0) { town = 21; } else if (strncmp(map_name, "veins", 3) == 0) { town = 22; } else if (strncmp(map_name, "moscovia", 3) == 0) { town = 23; } else if (strncmp(map_name, "mid_camp", 3) == 0) { town = 24; } else if (strncmp(map_name, "manuk", 3) == 0) { town = 25; } else if (strncmp(map_name, "splendide", 3) == 0) { town = 26; } else if (strncmp(map_name, "brasilis", 3) == 0) { town = 0; } else if (strncmp(map_name, "dicastes01", 3) == 0) { town = 0; } else if (strcmp(map_name, "mora") == 0) { town = 0; } else if (strncmp(map_name, "dewata", 3) == 0) { town = 0; } else if (strncmp(map_name, "malangdo", 5) == 0) { town = 0; } else if (strncmp(map_name, "malaya", 5) == 0) { town = 0; } else if (strncmp(map_name, "eclage", 3) == 0) { town = 0; } conf/help.txt go: "Params: <city name|number>\n" "Warps you to a city.\n" " -3: (Memo point 2) 14: louyang\n" " -2: (Memo point 1) 15: prison/jail\n" " -1: (Memo point 0) 16: ayothaya\n" " 0: prontera 17: einbroch\n" " 1: morocc 18: lighthalzen\n" " 2: geffen 19: einbech\n" " 3: payon 20: hugel\n" " 4: alberta 21: rachel\n" " 5: izlude 22: veins\n" " 6: aldebaran 23: moscovia\n" " 7: xmas (lutie) 24: midgard camp\n" " 8: comodo 25: manuk\n" " 9: yuno 26: splendide\n" " 10: amatsu\n" " 11: gonryun\n" " 12: umbala\n" " 13: niflheim\n"
  11. Hey guys, so i have this script i found for a Private DB room. Works great however i want to include a few mods to this script and wondering if you can help me. prontera,146,164,6 script Dead Branch Room 721,{ setarray $@maps$[1], "ordeal_1-1", "06guild_01", "06guild_02", "06guild_03", "06guild_04", "06guild_05", "06guild_06", "06guild_07", "06guild_08"; setarray .@price[1], 200, 2000000, 2000000, 2000000, 2000000, 2000000, 2000000, 2000000, 2000000; for(set .@b,1; .@b < getarraysize($@maps$); set .@b,.@b + 1) { if(.@b==1){ set .@menu$, .@menu$ + "Public- "+((getmapusers($@maps$[.@b])>=30)?"^CD0000Closed^000000("+getmapusers($@maps$[.@b])+")":"^007700Open^000000("+getmapusers($@maps$[.@b])+") ["+.@price[.@b]+" zeny]")+":"; } else { set .@menu$, .@menu$ + "Private["+(.@b-1)+"]- "+((getmapusers(""+$@maps$[.@b]+"")>=5)?"^CD0000Closed^000000("+getmapusers($@maps$[.@b])+")":"^007700Open^000000("+getmapusers($@maps$[.@b])+") ["+.@price[.@b]+" zeny]")+":"; } } if(select(.@menu$)) { if(Zeny<.@price[@menu]){mes "I'm sorry but you don't have enough Zeny, please come back later."; close;} if(getmapusers($@maps$[@menu])<=30&&@menu==1){ set Zeny,Zeny-.@price[@menu]; set $@maps$,$@maps$[@menu]; setnpctimer 0; attachnpctimer(strcharinfo(0)); startnpctimer; warp $@maps$[@menu],150,148; end; } if(!getmapusers($@maps$[@menu])){ mes "Input a new password."; input($password$[@menu]); set Zeny,Zeny-.@price[@menu]; set $@maps$,$@maps$[@menu]; next; setnpctimer 0; attachnpctimer(strcharinfo(0)); startnpctimer; warp $@maps$[@menu],50,50; end; } if(getmapusers($@maps$[@menu])<=5&&@menu!=1) { mes "This room is password protected please input the password now."; input(@name$); if(@name$==$password$[@menu]){ set Zeny,Zeny-.@price[@menu]; set $@maps$,$@maps$[@menu]; mes "correct!"; next; setnpctimer 0; attachnpctimer(strcharinfo(0)); startnpctimer; warp $@maps$[@menu],50,50; end; } else { mes "Incorrect!"; close; } } else { mes "I'm sorry this room is full."; close; } } OnTimer3600000: if(strcharinfo(3)==$@maps$){ warp "prontera",156,181; end; } } I want it to only accept the 2 million zeny payment once and only by the player setting the room password. All other players that obtain the password enter for free. Also a 1 hour time limit, after 1 hour all players are warped out, all monster on the map are killed and the room becomes live again with no password. Is this possible to add onto this script? Thank you.
  12. Hey guys. So I'm wanting to add an Anti AFK system that effects Homunculus. Now i know there is the idle time limit to not obtain EXP or loot, i have that enabled. Is there a way to also have an idle time for Homunculus to stop attacking monsters and leveling up that works the same way?
  13. Okay i figured it all out. I get this. Anyone help me on how to fix this? ive opened the files and removed the <<<<<<< ======= >>>>>>> but still keeps failing to merge. NVM fixed
  14. Can anyone help on how to do this?
×
×
  • Create New...