Jump to content

AsuraBro

Members
  • Posts

    74
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by AsuraBro

  1. make a new account to play. username_M male _F female you cannot user account_id 1 for a user to play with its the server account
  2. can you look into your autoevent.it has so many bugs with the latest revision of rAthena. i had to fix most of the events manual. for ex the script tries to hide npc before the npc loads. maze event dosnt end when someone walks to the rewards guy, pvp reward npc is not hidden when event start and event dosnt end when there is 1 player left and some dead next to him. also dosnt tp dead players back. and much much more can you look into it please? also how do i make the event start at a day on clock, like i want to start a event at Sunday 6 AM. and other one at Monday 6pm. thank in advice. Hmm odd works on my current live server, once I fix my comp I'll update rAthena and take a look. After onminute55 do a check for day using get time --------------------------------------- *gettime(<type>) This function will return specified information about the current system time. 1 - Seconds (of a minute) 2 - Minutes (of an hour) 3 - Hour (of a day) 4 - Week day (0 for Sunday, 6 is Saturday) 5 - Day of the month. 6 - Number of the month. 7 - Year. 8 - Day of the year. It will only return numbers. if (gettime(4)==6) mes "It's a Saturday. I don't work on Saturdays."; --------------------------------------- this will apply to all events or i have to do it to each event? like maze at sunday 6am Zombie at Monday 6pm
  3. on my server we are only 2 admins with all commands. and we don't have jobmaster. there was this one player he got 3rd job i asked him how he got it, the only reply i got he said the jobs aren't disabled which i am sure they were i made sure they are disabled in renewal.h and server was compiled. // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef _CONFIG_RENEWAL_H_ #define _CONFIG_RENEWAL_H_ //quick option to disable all renewal option, used by ./configure #define PRERE #ifndef PRERE /** * rAthena configuration file (http://rathena.org) * For detailed guidance on these check http://rathena.org/wiki/SRC/config/ **/ /** * @INFO: This file holds general-purpose renewal settings, for class-specific ones check /src/config/classes folder **/ /// Game renewal server mode /// (disable by commenting the line) /// /// Leave this line to enable renewal specific support such as renewal formulas ///#define RENEWAL /// Renewal cast time /// (disable by commenting the line) /// /// Leave this line to enable renewal casting time algorithms and enable fixed cast bonuses. /// See also default_fixed_castrate in conf/battle/skill.conf for default fixed cast time (default is 20%). /// Cast time is altered be 2 portion, Variable Cast Time (VCT) and Fixed Cast Time (FCT). /// By default FCT is 20% of VCT (some skills aren't) /// - VCT is decreased by DEX * 2 + INT. /// - FCT is NOT reduced by stats, reduced by equips or buffs. /// Example: /// On a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a FCT //#define RENEWAL_CAST /// 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 /// 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 /// Renewal level modifier on damage /// (disable by commenting the line) /// // Leave this line to enable renewal base level modifier on skill damage (selected skills only) //#define RENEWAL_LVDMG /// Renewal ASPD [malufett] /// (disable by commenting the line) /// /// Leave this line to enable renewal ASPD /// - shield penalty is applied /// - AGI has a greater factor in ASPD increase /// - there is a change in how skills/items give ASPD /// - some skill/item ASPD bonuses won't stack //#define RENEWAL_ASPD /// Renewal stat calculations /// (disable by commenting the line) /// /// Leave this line to enable renewal calculation for increasing status/parameter points //#define RENEWAL_STAT #endif #endif // _CONFIG_RENEWAL_H_
  4. I'm not talking about the @job command. i did set the mode to pre-re from renewal.h in the src. but still you can get the jobs or skills from command or something. what i want is everything related to renewal to be disabled like you cannot get renewal jobs or skills not from commands or anything else. one day i saw a player with a renewal job, i cannot tell how he got it even with renewal is disabled.
  5. Is it possible to disable all renewal jobs and skills permanent like even with @job you wont be able to get it? thanks in advice. and yes i did disable renewal.h from src.
  6. can you look into your autoevent. it has so many bugs with the latest revision of rAthena. i had to fix most of the events manual. for ex the script tries to hide npc before the npc loads. maze event dosnt end when someone walks to the rewards guy, pvp reward npc is not hidden when event start and event dosnt end when there is 1 player left and some dead next to him. also dosnt tp dead players back. and much much more can you look into it please? also how do i make the event start at a day on clock, like i want to start a event at Sunday 6 AM. and other one at Monday 6pm. thank in advice.
  7. Can you try this? { set BaseLevel,BaseLevel+1; } Can't pull up any server yet to give a try. thanks working
  8. no if you see his image you will understand what he means. try to download clean kro folder and try with it
  9. i think this one is a bit outdated, you should look for newer one since last update for it was over 3 years ago
  10. https://rathena.org/board/topic/104205-2015-client-support/?p=294846
  11. use GRF editor, to encrypt your grf and do encrypted patches. grf editor is really user friendly you will figure it out by using it
  12. well if it's source editing i'm going to leave as it is, i really don't know much on scripting. im sure that there is a way around it.
  13. It's because the Fluxcp skin you are using, is using an outdated modules. you need to look into the urls and modules and try to fix them.
  14. this is my both scripts this is El Dragon language system prontera,148,52,5 script Language Changer::trans 412,{ mes "[Translator]"; mes " * Please choose a language"; mes " * الرجاء إختيار لغة"; next; menu "العربية",-,"English",L_En; set #language,0; next; mes "[المترجم]"; mes ".شكرا"; mes "أستمتع ببقائك في راجناروك !."; close; L_En: set #language,1; next; mes "[Translator]"; mes "Thank you."; mes "Have fun on ??? Ro."; close; } - script LanguageChanger 1,{ OnPCLoginEvent: if(!#Translated) { set #Translated, 1; mes "[Translator]"; mes " * Please choose a language"; mes " * الرجاء إختيار لغة"; next; menu "العربية",-,"English",L_En; set #language,0; next; mes "[المترجم]"; mes ".شكرا"; mes "أستمتع ببقائك في راجناروك !."; close; L_En: set #language,1; next; mes "[Translator]"; mes "Thank you."; mes "Have fun on RO"; mes "You can still change"; mes "the language from the old man"; mes "called Language Changer."; close; } end; } new_1-1,65,108,4 duplicate(trans) Language Changer 412 this is the event - script Sample -1,{ OnWhisperGlobal: if( getgmlevel() < 98 ) end; // only gm >= 99 can talk mes "There is currently ^ff0000"+ getusers(1) +"^000000 player(s) online."; mes "You can add an item to all player, except whose on vending or chatting mode."; next; if( select( "Send an item ID", "Leave" ) -1 ) close; mes "Input item ID."; input .@item_id; mes "The item you selected is " + getitemname( .@item_id ); input .@amount; mes "You will Give " + .@amount + "x " + getitemname( .@item_id ); mes "Please wait until the event is done."; mes "OR use @refresh "; if( getitemname( .@item_id ) == "null" || .@amount < 1 ){ mes "Enter valid item id and amount."; close; } set .@item_name$, getitemname( .@item_id ); set .@gm_name$, strcharinfo(0); do{ .@result = query_sql( "SELECT `account_id`,`name` FROM `char` WHERE `online` = 1 AND `account_id` NOT IN ( SELECT `account_id` FROM `login` WHERE `group_id` > 0 ) ORDER BY RAND() LIMIT 1",.@aid,.@name$ ); } while( .@result && ( checkvending( .@name$ ) || checkchatting( .@name$ ) ) ); if ( .@result ) { if (#language == 1) { announce "Lottery Manager: ENGLISH TEXT ! ",0; sleep2 07555; announce "Lottery Manager: In 5 seconds we will announce the winner ! ",0; sleep2 07555; announce "Lottery Manager: Starting from NOW ! ",0; sleep2 01250; announce "Lottery Manager: 5 ! ",0; sleep2 01250; announce "Lottery Manager: 4 ! ",0; sleep2 01250; announce "Lottery Manager: 3 ! ",0; sleep2 01250; announce "Lottery Manager: 2 ! ",0; sleep2 01250; announce "Lottery Manager: 1 ! ",0; sleep2 01250; announce "Lottery Manager: Player "+ rid2name(.@aid) + " has WON the lottery and has benn rewarded " + .@amount + "x " + getitemname( .@item_id ),0; message rid2name( .@aid ), "You have won the lottery " +". The prize is "+ .@item_name$ +"."; } else { announce "Lottery Manager: ARABIC TEXT ! ",0; sleep2 07555; announce "Lottery Manager: In 5 seconds we will announce the winner ! ",0; sleep2 07555; announce "Lottery Manager: Starting from NOW ! ",0; sleep2 01250; announce "Lottery Manager: 5 ! ",0; sleep2 01250; announce "Lottery Manager: 4 ! ",0; sleep2 01250; announce "Lottery Manager: 3 ! ",0; sleep2 01250; announce "Lottery Manager: 2 ! ",0; sleep2 01250; announce "Lottery Manager: 1 ! ",0; sleep2 01250; announce .@amount + " x " + getitemname(.@item_id)+ " على " + rid2name(.@aid) + " حصل اللاعب ",0; message rid2name( .@aid ), "You have won the lottery " +". The prize is "+ .@item_name$ +"."; } getitem .@item_id, .@amount, .@aid; } set .@loop, .@loop +1; mes "Done."; close; end; } i have tested in this picture they both gets English text because i have it selected on the GM who started the event, also if i changed it to arabic in the GM it will display ARABIC TEXT for both player and gm. what i want is, make announce change with the player selected language, not event starter language. ex. Player have is selected Arabic the announce display "ARABIC TEXT ! " for him and other who have English display "ENGLISH TEXT ! " for him. and the GM who started the event can have it on any language selected and wont affect the players.
  15. thank you i know i'm asking a lot but, there is if (#language == 1) { English text } else { text } i want the text to appear on the player language not my language. it always will do the announce on my language not the player selected one. ref to https://rathena.org/board/topic/93969-language-system/?p=251072
  16. ty, emistry. but what if i wanted to exclude player with gm level ?
  17. and how should it be i really don't have that much of idea on it. should it look like this? set .@size, query_sql( "SELECT `account_id`, `name` from `char` where `online` = '1' and `char_id` != "+ getcharid(0) +" order by RAND(`account_id`) desc limit "+ ( .@loop *128 ) +", 128", .@account_id, .@name$ );
  18. Hello, can someone please show me what is wrong with this script, i have modified this script, https://rathena.org/board/topic/83371-send-to-all-online-players/?p=202884 do { set .@size, query_sql( "SELECT `account_id`, `name` from `char` where `online` = '1' and `char_id` != "+ getcharid(0) +" order by `account_id` desc limit "+ ( .@loop *128 ) +", 128", .@account_id, .@name$ ); for( set .@i, 0; .@i < .@size; set .@i, .@i +1 ) { if ( checkvending( .@name$[.@i] ) || checkchatting( .@name$[.@i] ) ) continue; set .@randomplayer, .@account_id[.@i[rand(getarraysize(.@account_id))]]; } explain for this, it will give an item from my input to a random player that isn't shopping / chatting. but the problem is it will always give the same player, i tried a lot of methods to fix it but none worked. what is wrong with it. thank you!
  19. Hello, i have a request of script that drops an item at random player location. for ex i want to drop item id 501 every 10 ~ 20 hour at a random player from the server (where ever he is at his location). also if possible to make it check if player talking to npc / used teleporting item in the past 2~5 sec would be cool. even getitem is cool. thank you. EDIT: i tried and made progress with this script // usage : // [npc:Sample]map#512#10 // [npc:Sample]all#512#123 - script Sample -1,{ OnWhisperGlobal: if( getgmlevel() >= 99 ){ // check map if( @whispervar0$ == "all" ) set .@type$,""; else if( @whispervar0$ == "map" ) set .@type$,strcharinfo(3); else { dispbottom "Error, pick 'map' or 'all' "; end; } // check item set .@itemid,atoi( @whispervar1$ ); set .@amount,atoi( @whispervar2$ ); if( getitemname( .@itemid ) == "null" || .@amount < 1 ){ dispbottom "Enter valid item id and amount."; } set .@self_id,getcharid(3); query_sql( "SELECT COUNT(`account_id`) FROM `char` WHERE `online` = 1 ", .@total ); while( .@count < .@total ){ query_sql( "SELECT `account_id`,`name` FROM `char` WHERE `online` = 1 ORDER BY `account_id` LIMIT 128 OFFSET "+.@offset, .@aid,.@name$ ); set .@i,0; set .@size,getarraysize( .@aid ); set .@randomplayer, .@aid[rand(getarraysize(.@aid))]; while( .@i < .@size ){ if( .@aid[.@i] != .@self_id ){ if( .@type$ != "" ){ getmapxy( .@map$,.@x,.@y,0,.@name$[.@i] ); if( .@map$ == .@type$ ){ getitem .@itemid,.@amount,.@aid[.@i]; set .@gave,.@gave + 1; } }else{ getitem .@itemid,.@amount,.@randomplayer; set .@gave,.@gave + 1; } } set .@count,.@count + 1; set .@i,.@i + 1; } set .@offset,.@offset + .@size; deletearray .@aid,.@size; deletearray .@name$,.@size; } announce "Player "+ .@randomplayer + " has recevied " + .@amount + "x " + getitemname( .@itemid ),0; } end; } but the thing is i want it to be automatic script, like every X hour give item, and it can be more simple than this, but i have no experience in this thing ref to https://rathena.org/board/topic/75469-qselect-random-player-in-map/?p=162586 https://rathena.org/board/topic/86246-i-need-npc-item-rewards-for-all-online-players/?p=216803 solved in https://rathena.org/board/topic/104224-can-someone-please-show-me-what-is-wrong-with-this-script/
  20. i saw some servers using service type to select server lang in game, (NPC, items, UI, etc..) for ex this is a server clientinfo.xml they did this. <?xml version="1.0" encoding="euc-kr" ?> <clientinfo> <servicetype>uae</servicetype> <servertype>primary</servertype> <passwordencrypt></passwordencrypt> <connection> <display>English</display> <desc>None</desc> <address>ip</address> <port>6900</port> <version>1</version> <registrationweb>google.com</registrationweb> <aid> <admin>2000000</admin> </aid> <loading> <image>loading01.jpg</image> </loading> </connection> <connection> <display>搏흡</display> <desc>None</desc> <address>IP</address> <port>6900</port> <version>1</version> <registrationweb></registrationweb> <aid> <admin>2000000</admin> </aid> <loading> <image>loading01.jpg</image> </loading> </connection> </clientinfo> you get to select between Arabic and English using this i really dont know how this works so if someone can explain would be nice. p.s every thing gets translated using this only (NPC, Items, etc..)
  21. yes, the weird part is i tried to download it fresh again and install it on new sql db then i install rA sql files then tried to install flux it shows this for me even i don't have them in my sql db and here is my servers.conf // -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available. // -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8) 'Hostname' => 'localhost', 'Username' => 'ragnarok', 'Password' => 'ragnarok', 'Database' => 'ragnarok', 'Persistent' => true, 'Timezone' => null // Example: '+0:00' is UTC. // -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available. // -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8) 'Hostname' => 'localhost', 'Username' => 'ragnarok', 'Password' => 'ragnarok', 'Database' => 'ragnarok', 'Persistent' => true, 'Timezone' => null // Possible values is as described in the comment in DbConfig. EDIT: problem solved after reinstalling wampserver.
  22. so i did install flucp on a webhost online and it did work. i tried now to install it on my localhost to test stuff and i keep getting this problem. i never encountered it while installing on webhost. i install all rA sql files then tried to install fluxCP i got this error im using wampserver
  23. download new copy of kro, that fits your client version.
  24. Hello thank you for starting this project again! can we have the tutorial on how to install it / use it since your site is down?
×
×
  • Create New...