Leaderboard
Popular Content
Showing content with the highest reputation on 05/02/13 in all areas
-
Hello All Member For rATHENA im newbie in design but i need u guys rate and comment hehehe here my 1st Flux CP Design.Before this me got post 2 type design(ceres cp) please rate 1 - 10 here my design1 point
-
Hi. If I remember correctly I wrote some things related to this post on the forum, at the beginning of rathena, I'm not able to find it ever, so maybe it was in the staff section. It was talking about script optimization, more specially, how some fake commands (if/else/while/for) are converting to label in the source and can be improved. Since I don't have the motivation (and the time) to work on a patch, I let you the result of my investigations here (because it was waiting from one year on my ftp). So first of all, this modifications required two commands : jump_nonzero, goto_ifexist. There will be used to rewrite all the for() while() code and optimize the code. // jump_nonzero() - inverse of jump_zero. BUILDIN_DEF(jump_nonzero,"il") BUILDIN_FUNC(jump_nonzero) { if( script_getnum(st,2) ) { if( !data_islabel(script_getdata(st,3)) ){ ShowError("script: jump_zero: not label !\n"); st->state=END; return 1; } st->pos = script_getnum(st,3); st->state = GOTO; } return 0; } // goto_ifexist() - Jump to a label if it exist (required a string !) BUILDIN_DEF(goto_ifexist,"s") BUILDIN_FUNC(goto_ifexist) { int n = search_str( script_getstr(st,2) ); if( n == -1 || str_data[n].type != C_POS ) {// label not found return 0; } st->pos = str_data[n].label; st->state = GOTO; return 0; } ---------------------------------------------------- Now, let's have fun: For NPC Script: for ( <a>; <b>; <c> ) { <d>; }Currently compiled to:<a>; __FR%x_J: jump_zero( <b>, __FR%x_FIN ); goto __FR%x_BGN; __FR%x_NXT: <c>; goto __FR%x_J; __FR%x_BGN: <d>; goto __FR%x_NXT; __FR%x_FIN:My proposal:<a>; jump_zero( <b>, __FR%x_FIN ); __FR%x_J: <d>; __FR%x_NXT: <c>; jump_nonzero( <b>, __FR%x_J ); __FR%x_FIN: While NPC Script: while ( <a> ) { <b> } Currently compiled to: __WL%x_NXT: jump_zero( <a>, __WL%x_FIN ); <b> goto __WL%x_NXT; __WL%x_FIN: My proposal: goto __WL%x_NXT; __WL%x_BGN: <b>; __WL%x_NXT: jump_nonzero( <a>, __WL%x_BGN ); __WL%x_FIN: Do-While NPC Script: do { <a> } while( <b> ); Currently compiled to: __DO%x_BGN: <a>; __DO%x_NXT: jump_zero( <b>, __DO%x_FIN ); goto __DO%x_BGN; __DO%x_FIN: My proposal: __DO%x_BGN: <a>; __DO%x_NXT: jump_nonzero( <b>, __DO%x_BGN ); __DO%x_FIN: Switch NPC Script: switch(<a>) { case 1: <b> break; default: <c> } Currently compiled code (simplify, the original is more obscure): set $@__SW%x_VAL, <a>; goto __SW%x_%xJ; __SW%x_%xJ: __SW%x_%x: if(%d != $@__SW%x_VAL) goto __SW%x_%x; <b>; goto __SW%x_FIN; // break __SW%x_%x: goto __SW%x_DEF; __SW%x_DEF: <c>; set $@__SW%x_VAL,0; goto __SW%x_FIN; __SW%x_FIN: My proposal: goto_ifexist("__SW%x_" + <a>); goto_ifexist("__SW%x_DEF"); goto __SW%x_FIN; __SW%x_1: <b> goto __SW%x_FIN; // break; __SW%x_DEF: <d> __SW%x_FIN:1 point
-
dude find this line .count_req = 1; // count required in the party to start the event change 1 to 3 .count_req = 3; // count required in the party to start the event1 point
-
1 point
-
src/map/config/renewal.h /// game renewal server mode /// (disable by commenting the line) /// /// leave this line to enable renewal specific support such as renewal formulas //#define RENEWAL << Comment /// renewal cast time /// (disable by commenting the line) /// /// leave this line to enable renewal casting time algorithms /// cast time is decreased by DEX * 2 + INT while 20% of the cast time is not reduced by stats. /// example: /// on a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a /// "fixed cast time" which can only be reduced by specialist items and skills //#define RENEWAL_CAST << Comment /// renewal drop rate algorithms /// (disable by commenting the line) /// /// leave this line to enable renewal item drop rate algorithms /// while enabled a special modified based on the difference between the player and monster level is applied /// based on the http://irowiki.org/wiki/Drop_System#Level_Factor table //#define RENEWAL_DROP << Comment /// renewal exp rate algorithms /// (disable by commenting the line) /// /// leave this line to enable renewal item exp rate algorithms /// while enabled a special modified based on the difference between the player and monster level is applied //#define RENEWAL_EXP << Comment /// renewal cast time variable cast requirement /// /// this is the value required for no variable cast-time with stats. /// formula: (DEX * 2) + INT /// default: 530 #define RENEWAL_CAST_VMIN 5301 point
-
if you want to disable renewal aspd src\config\renewal.h #define RENEWAL_ASPD and for doppelganger card effect. db\pre-re\item_db.txt 4142,Doppelganger_Card,Doppelganger Card,6,20,,10,,,,,,,,2,,,,,{ bonus bAspdRate,10; },{},{} change the 10 to 100 to max the aspd of your character. don't forget to recompile after editing the source.1 point
-
April Digest 2013 The following digest covers the month of April, 2013. Development Team @Akinari has joined as Core Developer. @Baalberith has joined as Core Developer. @helvetica has joined as Core Developer. Development Highlights Renewal updates: Finalized PIN code implementation. (r17240, r17242) Cashshop support. (r17242) Renewal Homunculus stats. (r17270) Added atrr-column for additional mob modes. (r17304) Implemented many new packets. (r17229, r17234, r17250, r17293, r17294, r17300, r17303, r17306) Renewal scripts: Malangdo Culvert instance. (r17279) Malangdo quests and NPCs. (r17234, r17269, r17275) Updated Malangdo mob_db and mob_skill_db. (r17279) Other noteworthy changes: Implemented Channel System to replace @main. (r17228, r17284, topic) Implemented Multilanguage Support. (r17251, topic) Implemented Console Commands. (r17255) Implemented Secure NPC Timeout and a slight script engine update. (r17280, topic) New options for starting items, including auto-equip. (r17281) Misc. Stats During the period there were 80 commits. Of these 80 commits 43 included bug-fixes.1 point
-
Switched to ANSI (Windows-1251) in r17309. Tell me if it works. I don't think it's necessary, since some people are probably more comfortable with Pastebin and it's easy to upload differentials, too. Thanks, though!1 point
-
Here's my point of view of answering your questions. 1-How do you attract players from other servers to play yours? Firstly, advertising in RMS, xtremetop100 is a great way to start, but aside from that, imagine if you have a default FLUX CP theme compared to a great website theme, which will you prefer? And also a forum that's always look the same with lacking features compared to a forum that's really beautiful and full with features. That's something to think about. To me, in order to attract people in, it's always the First impression that pays off. Aside from that would have to be customs that other servers doesn't have. Example custom maps, items, events, and perhaps storyline as well! just like the one i'm writing 2-Why people quitting from server and want to try other one? From the many reviews I've read, it's not because your server is horrible (aside from connectivity issues) it's always the GM that plays the major part of a server. If you give an item to your friend and other people realize it, you're gonna have a hard time and people will end up not trusting you as you'll be labeled as a *corrupted GM*. Donations also play a big role! so don't abuse it just to earn a quick buck! (Trust me, i've experienced this during close beta, when I had GM powers for the first time, I was giving items like it was free and the server went into Chaos, thank god it's only close beta!) 3-How to make your server adv it self? Again this comes back to RMS and xtremetop100, but still, best advertisement comes from word of mouth. As long you're dedicated to your server and the player realizes it, they'll spread the word eventually and your server will be advertised by itself. 4-How to make people happy on playing your server for long term? Updates! This is the main reason of people playing your server. putting in new quests that is hard to finish will really bring the fun of your server! Having new events, GM events, and also new quests will really spice up the fun. If not, players will be coming in and telling you, "GM I'm bored". 5-Should i be objective driven? To me at least, what you require most aside from an Objective would be dedication. Whether you want to continue even though your player counts go down to a 1 digit number. Take it as a lesson and continue, as sooner or later you'll strive!1 point
-
I think you should insert changequest 2033,2039;in this part mes "[Darwin]"; mes "^666666*Gasp...*^000000"; mes "You are now"; mes "an Alchemist!!"; mes "Go to the Union"; mes "and cast away the last"; mes "vestiges of Merchant life!!"; set ALCH_Q,40; + changequest 2033,2039; close; And report to bug tracker1 point
-
rev6 update, Tanos weapon translation, bunch of non kRO item additions (items from other official servers), also merged items up to 03/21/2013. enjoy more reps for me? LOL1 point
-
1 point
-
Bug Report: Euphy's WOE Controller The WOE controller will run and open all the castle in random times, and when you check the WOE Controller NPC, the npc said that the War of Emperium is active and it will end at 28:00. I don't think that there is 28:00 xD - The script is set and running fine. I don't know why is it running automatically at random time sometimes. - There is no other woe controller running. - The server is not using @reloadscript to run this or @loadnpc. - All is fine, but you'll see the NPC is glowing meaning the WOE is started and it will end at 28:00.1 point
-
я разобрался уже ) там немного другое у меня роутер если я вписываю везде свой реальный ип то сервер не запускаеться // Login Server IP // The character server connects to the login server using this IP address. // NOTE: This is useful when you are running behind a firewall or are on // a machine with multiple interfaces. login_ip: 192.168.0.100 // The character server listens on the interface with this IP address. // NOTE: This allows you to run multiple servers on multiple interfaces // while using the same ports for each server. bind_ip: 192.168.0.100 // Login Server Port login_port: 6900 // Character Server IP // The IP address which clients will use to connect. // Set this to what your server's public IP address is. char_ip: мой реальный ип // Character Server Port char_port: 6121 вот так надо было писать ипы1 point
-
1 point