Jump to content

Mystery

Members
  • Posts

    2192
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by Mystery

  1. When in doubt, check the Wiki: http://rathena.org/wiki/Edit_Max_Level or search the forums.
  2. What emistry said is easy.. to do: - script Sample -1,{ OnInit: set .Delay,180; end; OnPCKillEvent: if( strcharinfo(3) == "mapname" ) { if( @Delay < gettimetick(2) ) { set .@Amount,rand(1,4); set #CASHPOINTS,#CASHPOINTS + .@Amount; dispbottom "Gained "+.@Amount+" Cash Point. Total = "+#CASHPOINTS+" Cash Points."; if( .Delay ) set @Delay,gettimetick(2) + .Delay; } } end; }
  3. I believe that's set through the client. o_o If it's in the source.. I wouldn't know where but my best bet would be the client handles that.
  4. I know I know but I was just curious
  5. Following what clydelion said, it's a lot more easier to use mapflags for sec_pri. If you're going to move it around in the source, you're gonna need to know what's going on in this code: /*========================================== * @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_PRONTERA, 156, 191 }, // 0=Prontera { 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_NOVICE, 53, 111 }, // 15=Training Grounds { 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_MIDCAMP, 180, 240 }, // 26=Midgard Camp { MAP_MANUK, 282, 138 }, // 27=Manuk { MAP_SPLENDIDE, 197, 176 }, // 28=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(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, "prontera", 3) == 0) { town = 0; } else if (strncmp(map_name, "morocc", 3) == 0) { town = 1; } else if (strncmp(map_name, "geffen", 3) == 0) { town = 2; } else if (strncmp(map_name, "payon", 3) == 0 || strncmp(map_name, "paion", 3) == 0) { town = 3; } else if (strncmp(map_name, "alberta", 3) == 0) { town = 4; } else if (strncmp(map_name, "izlude", 3) == 0 || strncmp(map_name, "islude", 3) == 0) { town = 5; } else if (strncmp(map_name, "aldebaran", 3) == 0 || strcmp(map_name, "al") == 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, "yuno", 3) == 0) { town = 9; } else if (strncmp(map_name, "amatsu", 3) == 0) { town = 10; } else if (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, "begining", 3) == 0) { town = 15; } else if (strncmp(map_name, "sec_pri", 3) == 0 || strncmp(map_name, "prison", 3) == 0 || strncmp(map_name, "jails", 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 || strncmp(map_name, "ainbroch", 5) == 0) { town = 19; } else if (strncmp(map_name, "lighthalzen", 3) == 0) { town = 20; } else if (strncmp(map_name, "einbech", 3) == 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, "mid_camp", 3) == 0) { town = 26; } else if (strncmp(map_name, "manuk", 3) == 0) { town = 27; } else if (strncmp(map_name, "splendide", 3) == 0) { town = 28; } else if (strncmp(map_name, "brasilis", 3) == 0) { town = 29; } else if (strncmp(map_name, "dicastes01", 3) == 0) { town = 30; } else if (strncmp(map_name, "mora", 3) == 0) { town = 31; } else if (strncmp(map_name, "dewata", 3) == 0) { town = 32; } else if (strncmp(map_name, "malangdo", 5) == 0) { town = 33; } else if (strncmp(map_name, "malaya", 5) == 0) { town = 34; } else if (strncmp(map_name, "eclage", 3) == 0) { town = 35; } https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/atcommand.c with the help of this article: http://rathena.org/wiki/@go As shown, it's a lot more of a hassle to change the source. I thought the Abracadabra skill, with the taming toggled, doesnt the captured monster already become an egg showing a normal looking pet egg? like a lunatics? o_O
  6. Using the main.sql found here: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/sql-files/main.sql has all the tables needed for characters to be saved. They are saved automatically by the server itself: // Database autosave time // All characters are saved on this time in seconds (example: // autosave of 60 secs with 60 characters online -> one char is saved every // second) autosave_time: 300 // Min database save intervals (in ms) // Prevent saving characters faster than at this rate (prevents char-server // save-load getting too high as character-count increases) minsave_time: 100 // Apart from the autosave_time, players will also get saved when involved // in the following (add as needed): // 1: after every successful trade // 2: after every vending transaction // 4: after closing storage/guild storage. // 8: After hatching/returning to egg a pet. // 16: After successfully sending a mail with attachment // 32: After successfully submitting an item for auction // 64: After successfully get/delete/complete a quest // NOTE: These settings decrease the chance of dupes/lost items when there's a // server crash at the expense of increasing the map/char server lag. If your // server rarely crashes, but experiences interserver lag, you may want to set // these off. save_settings: 127 https://rathena.svn....map_athena.conf You would need to be setup as a SQL server since we no longer support Text based servers (if you're using eAthena it's a different story then).
  7. Why would you allow one, and not the other? Bots are just as bad as any other hack since they're still considered hacks and ruin the balance of gameplay overall in your server..
  8. Everything you really wanna know about creating is through our Wiki: http://rathena.org/wiki/Main_Page and then the search button on the forums. Mainly, in order to get the files from our SVN, you need to do a SVN Checkout: http://rathena.org/wiki/SVN_Checkout then start configuring your server and recompile which there are a lot of articles on how to do so on the Wiki: http://rathena.org/wiki/Compiling http://rathena.org/wiki/Compiling/Windows Really, it's just a matter of searching exactly what you want and reading.
  9. Could possibly be a client problem. Though, I have my job level higher than 50 and I can still see my job bar, though I'm using 2012-06-18 (which I won't recommend for you to use unless you're experienced with clients). Have you tried changing it to something else higher than 50 (a bit more)? Like, 60 or something? See if that works. =/ Good point:
  10. You changed it to 53 for only specific classes as mentioned: 4024:4025:4026:4027:4028:4029:4046:4050
  11. The UI for version 2.0 looks extremely better than the first.. gosh I even love it and I'm not even a mapper D:! The UI in the first version really sucked sucks >.> Thats why I don't even bother using it still D:
  12. How doesn't it work? o_O. Did you install implement the map properly?
  13. Instead of creating 2 separate topics for help regarding the same script, combine them. *Topics and posts have been merged.
  14. I didn't mean to seem mean there, lol. I don't know what got into me! Just don't give up and keep trying! Overall, that was rude lol. You guys could of at least said what needs to be improved instead of just putting the guy down.. o_O hence, what euphy stated:
  15. I think it's mainly cause of the fact people don't know how to read guidelines specified for harmony given in their PDF. =/
  16. Have you checked to make sure that, that quest's ID is inside your quest_db? o_o Also, make sure its in your: http://svn6.assembla.com/svn/ClientSide/Translation_Project/data/questid2display.txt questid2display.
  17. Use the search function: http://rathena.org/b...ge__hl__kagerou http://rathena.org/b...ge__hl__kagerou http://rathena.org/b...ge__hl__kagerou Sprites for the classes are found once you have updated your kRO.
  18. From what I know, it's done through job_db1: // Job-specific Values Database // // Structure of Database: // JobID,Weight,HPFactor,HPMultiplicator,... Make sure you follow what's stated in the structure and restart your server =/. It should work perfectly fine if you've changed it correctly. Also, make sure you make the correct changes in either pre-re/job_db1 or re/job_db1 depending on what your server is set as.
  19. i tried it.. changed it from 50 to 70 but, when job level increased to 51, the progres bar (job level bar) was dissapear. how can i edit it, so that the progress bar doesnt dissapear till 70. thx Are you sure you're editing it correctly in the exp.txt table? o_o. Show us your JOB level changes in the exp.txt. Also, did you make sure to restart the server o_O? Also, @jlvl yourself to max, then set @jlvl -70 so you go back to 1 and level normally by killing monsters till you reach 70.
  20. Are you using the SVN's default job master? https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/jobmaster.txt
  21. Have you tried adding the actual greed skill to every class? (Including every single Third Jobs Trans and Seconds)?
  22. Sorry that this post is in English.. I just figured since you posted in English, I could try to help. Anyways, I'm guessing what you're referring to is to not allow Archer classes to use their skills? o_O But then when you're a sniper, you want them to show? If you dont want Archers to have skills, go to your skill_tree.txt and find: Archer and remove or comment (//) out the skills. //Archer 3,1,9,0,0,0,0,0,0,0,0,0,0 //NV_BASIC#Basic Skill# 3,142,1,0,0,0,0,0,0,0,0,0,0 //NV_FIRSTAID#First Aid# 3,43,10,0,0,0,0,0,0,0,0,0,0 //AC_OWL#Owl's Eye# 3,44,10,43,3,0,0,0,0,0,0,0,0 //AC_VULTURE#Vulture's Eye# 3,45,10,44,1,0,0,0,0,0,0,0,0 //AC_CONCENTRATION#Improve Concentration# 3,46,10,0,0,0,0,0,0,0,0,0,0 //AC_DOUBLE#Double Strafe# 3,47,10,46,5,0,0,0,0,0,0,0,0 //AC_SHOWER#Arrow Shower# 3,147,1,0,0,0,0,0,0,0,0,0,0 //AC_MAKINGARROW#Arrow Crafting# 3,148,1,0,0,0,0,0,0,0,0,0,0 //AC_CHARGEARROW#Arrow Repel# 3,410,1,0,0,0,0,0,0,0,0,0,0 //WE_CALLBABY#Call Baby# 3,681,1,0,0,0,0,0,0,0,0,0,0 //ALL_INCCARRY#Enlarge Weight Limit R# but if you go down to Sniper, they'll still have the skills: //Sniper 4012,1,9,0,0,0,0,0,0,0,0,0,0 //NV_BASIC#Basic Skill# 4012,142,1,0,0,0,0,0,0,0,0,0,0 //NV_FIRSTAID#First Aid# 4012,43,10,0,0,0,0,0,0,0,0,0,0 //AC_OWL#Owl's Eye# 4012,44,10,43,3,0,0,0,0,0,0,0,0 //AC_VULTURE#Vulture's Eye# 4012,45,10,44,1,0,0,0,0,0,0,0,0 //AC_CONCENTRATION#Improve Concentration# 4012,46,10,0,0,0,0,0,0,0,0,0,0 //AC_DOUBLE#Double Strafe# 4012,47,10,46,5,0,0,0,0,0,0,0,0 //AC_SHOWER#Arrow Shower# 4012,147,1,0,0,0,0,0,0,0,0,0,0 //AC_MAKINGARROW#Arrow Crafting# 4012,148,1,0,0,0,0,0,0,0,0,0,0 //AC_CHARGEARROW#Arrow Repel# 4012,115,5,0,0,0,0,0,0,0,0,0,0 //HT_SKIDTRAP#Skid Trap# 4012,116,5,0,0,0,0,0,0,0,0,0,0 //HT_LANDMINE#Land Mine# 4012,117,5,115,1,0,0,0,0,0,0,0,0 //HT_ANKLESNARE#Ankle Snare# 4012,118,5,117,1,0,0,0,0,0,0,0,0 //HT_SHOCKWAVE#Shockwave Trap# 4012,119,5,120,1,0,0,0,0,0,0,0,0 //HT_SANDMAN#Sandman# 4012,120,5,115,1,0,0,0,0,0,0,0,0 //HT_FLASHER#Flasher# 4012,121,5,120,1,0,0,0,0,0,0,0,0 //HT_FREEZINGTRAP#Freezing Trap# 4012,122,5,116,1,119,1,121,1,0,0,0,0 //HT_BLASTMINE#Blast Mine# 4012,123,5,118,1,122,1,0,0,0,0,0,0 //HT_CLAYMORETRAP#Claymore Trap# 4012,124,1,116,1,0,0,0,0,0,0,0,0 //HT_REMOVETRAP#Remove Trap# 4012,125,1,118,1,124,1,0,0,0,0,0,0 //HT_TALKIEBOX#Talkie Box# 4012,126,10,0,0,0,0,0,0,0,0,0,0 //HT_BEASTBANE#Beast Bane# 4012,127,1,126,1,0,0,0,0,0,0,0,0 //HT_FALCON#Falconry Mastery# 4012,128,10,129,5,0,0,0,0,0,0,0,0 //HT_STEELCROW#Steel Crow# 4012,129,5,127,1,0,0,0,0,0,0,0,0 //HT_BLITZBEAT#Blitz Beat# 4012,130,4,45,1,127,1,0,0,0,0,0,0 //HT_DETECTING#Detect# 4012,131,5,124,1,127,1,0,0,0,0,0,0 //HT_SPRINGTRAP#Spring Trap# 4012,1009,1,0,0,0,0,0,0,0,0,0,0 //HT_PHANTASMIC#Phantasmic Arrow# 4012,380,10,43,10,44,10,45,10,127,1,0,0 //SN_SIGHT#Falcon Eyes# 4012,381,5,128,3,44,5,129,5,127,1,0,0 //SN_FALCONASSAULT#Falcon Assault# 4012,382,5,45,10,46,5,0,0,0,0,0,0 //SN_SHARPSHOOTING#Focused Arrow Strike# 4012,383,10,45,9,0,0,0,0,0,0,0,0 //SN_WINDWALK#Wind Walker# 4012,410,1,0,0,0,0,0,0,0,0,0,0 //WE_CALLBABY#Call Baby# 4012,499,1,46,10,0,0,0,0,0,0,0,0 //HT_POWER#Beast Strafing# 4012,681,1,0,0,0,0,0,0,0,0,0,0 //ALL_INCCARRY#Enlarge Weight Limit R#
  23. To make an aliases of @main, go here: https://rathena.svn....and_athena.conf go to the end where it says kill: ["die"] and add: main: ["gmes"] save and exit. /* Command aliases You can define aliases for any command. Aliases work just like original command. Format is <commandname>: ["<alias>", ...] */ However, for the colour and format the way you want it.. you need to go here: https://rathena.svn....map/atcommand.c and find what to change in here :/ /*=================================== * Main chat [LuzZza] * Usage: @main <on|off|message> *-----------------------------------*/ ACMD_FUNC(main) { if( message[0] ) { if(strcmpi(message, "on") == 0) { if(!sd->state.mainchat) { sd->state.mainchat = 1; clif_displaymessage(fd, msg_txt(380)); // Main chat has been activated. } else { clif_displaymessage(fd, msg_txt(381)); // Main chat already activated. } } else if(strcmpi(message, "off") == 0) { if(sd->state.mainchat) { sd->state.mainchat = 0; clif_displaymessage(fd, msg_txt(382)); // Main chat has been disabled. } else { clif_displaymessage(fd, msg_txt(383)); // Main chat already disabled. } } else { if(!sd->state.mainchat) { sd->state.mainchat = 1; clif_displaymessage(fd, msg_txt(380)); // Main chat has been activated. } if (sd->sc.data[sC_NOCHAT] && sd->sc.data[sC_NOCHAT]->val1&MANNER_NOCHAT) { clif_displaymessage(fd, msg_txt(387)); return -1; } if ( battle_config.min_chat_delay ) { if( DIFF_TICK(sd->cantalk_tick, gettick()) > 0 ) return 0; sd->cantalk_tick = gettick() + battle_config.min_chat_delay; } // send the message using inter-server system intif_main_message( sd, message ); } } else { if(sd->state.mainchat) clif_displaymessage(fd, msg_txt(384)); // Main chat currently enabled. Usage: @main <on|off>, @main <message>. else clif_displaymessage(fd, msg_txt(385)); // Main chat currently disabled. Usage: @main <on|off>, @main <message>. } return 0; } .
  24. You need to update your LUA/LUB files that support those classes.
×
×
  • Create New...