-
Posts
429 -
Joined
-
Last visited
-
Days Won
7
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by rans
-
-
Hi,
I know this is not the harmony forum but i have no where to ask.
does anyone encounter a problem like this?
Harmony Client = failed to connect (no message to login-server)Non-Harmony Client = Game Exe is not latest ( with message in login-server )
Thnx! -
Remove the bracket on line 130.
Fatal error: Call to a member function toArray() on a non-object in /home/hosting/public_html/yourro/lib/Flux/Athena.php on line 175
Bump for this
nvm. solved
- 'MapServer' => array(
- 'Address' => 'xx.x.x.x',
- 'Port' => 5121
- )
- ),
- array(
- 'ServerName' => '1234ro',
- 'Renewal' => true,
- 'MaxCharSlots' => 9,
-
-
-
Hi,
Is it possible?
A playlist from server side will be played in to the whole server.
on warp the music still goes and does not repeat. -
If we go by the line numbers on your pastebin code, you need another ), on line 43 and another on 84. Remove the ; from line 170 on your servers.php though, as that shouldn't be there.
If you get stuck, upload your servers.php code to rAthena's pastebin, then let me know you've done it and i'll edit your pastebin so you can see what i've added, then you'll be good to go.
Thank you for replying.
I have now this (http://pastebin.com/JvVFFApp)
but i get an error
Parse error: syntax error, unexpected ')' in /home/hosting/public_html/yourro/config/servers.php on line 131
I have already check my ( and ) and it seems to be no extra ( ) . I don't know what the problem is.
EDIT: Sorry i don't know where is the rAthena pastebin
-
You'd just copy/paste another array into config/servers.php so it would contain something like this:
'CharMapServers' => array( array( 'ServerName' => 'Midgard', 'Renewal' => false, 'MaxCharSlots' => 9, ...etc ), array( 'ServerName' => 'Asgard', 'Renewal' => true, 'MaxCharSlots' => 9, ...etc )
And bob's your uncle!Thank you for your reply.
I will try this.
Hi,
I tried what you have said but it did'nt work or did i just missing something?
When i try to copy paste ( http://pastebin.com/KsVEZrs8 ) <== my code
i got an error
Parse error: syntax error, unexpected ';', expecting ')' in /home/hosting/public_html/yourro/config/servers.php on line 170
170 line is the last
);?> -
Hi,
Any guide on setting up a fluxCP for multiple server? (1 login, 2 char, 2map)
I see a topic around in hercules but it doesnt work.
Please help. thnx -
Holy sh*t !
I have been scripted battleground script for 3 years and only today I know there's a secret room for this map LOL
[paste=21hkxlqx2h6a]
rand__ function is everywhere in this forum
just a simple search and you'll find it
EDIT: nvm ...
function script rand__ { .@range = getarg(0); .@count = getarg(2, 0); if ( !.@count || .@count > .@range ) .@count = .@range; else if ( .@count > 128 ) .@count = 128; while ( .@i < .@count ) { .@r = .@save = rand( .@i, .@range -1 ) ; if ( !getd( ".@tmp1_"+ .@i ) ) { .@r = ( getd(".@tmp1_"+ .@r ) )? getd( ".@tmp2_"+ .@r ) : .@r; setd ".@tmp2_"+ .@i, .@r; setd ".@tmp2_"+ .@save , .@i; setd ".@tmp1_"+ .@save , 1; set getelementofarray( getarg(1), .@i ), .@r; if ( .@save < .@count ) set getelementofarray( getarg(1), .@save ), .@i; } .@i++; } return .@count; }
When only around 2 mins and it announced "Time Out. Aborting the match.".(No one break the emp.....)
Then all people warped out...
It is this problem??
.eventlasting = 100; // abort the system if there's no progress, 20 mins * seconds
100 seconds??
it is 100seconds
try doing it like this
.eventlasting = 20 * 60;
-
Hi,
Anyone can help me?
Using Ubuntu 12.04
Game Server Can connect in phpmyadmin or mysql
but when i try to install fluxCP
it says
Message: SQLSTATE[HY000] [2002] Connection refused
Even im using a root user to connect still same error.
Please help -
Holy sh*t !
I have been scripted battleground script for 3 years and only today I know there's a secret room for this map LOL
[paste=21hkxlqx2h6a]
rand__ function is everywhere in this forum
just a simple search and you'll find it
EDIT: nvm ...
function script rand__ { .@range = getarg(0); .@count = getarg(2, 0); if ( !.@count || .@count > .@range ) .@count = .@range; else if ( .@count > 128 ) .@count = 128; while ( .@i < .@count ) { .@r = .@save = rand( .@i, .@range -1 ) ; if ( !getd( ".@tmp1_"+ .@i ) ) { .@r = ( getd(".@tmp1_"+ .@r ) )? getd( ".@tmp2_"+ .@r ) : .@r; setd ".@tmp2_"+ .@i, .@r; setd ".@tmp2_"+ .@save , .@i; setd ".@tmp1_"+ .@save , 1; set getelementofarray( getarg(1), .@i ), .@r; if ( .@save < .@count ) set getelementofarray( getarg(1), .@save ), .@i; } .@i++; } return .@count; }
I appreciate your help THank you very much
-
you need to know ... bumping your topic will not make the script finish faster
it depends how much free time on the author's have,
its not like bumping the topic will suddenly makes me have more free time you know ?
[paste=e6puqfaaqqn]
I can do no.2 and no.3, but this no.1
where is the small room ?1st. - When you die. you will be warp into a small room with healer and a delay before you can join the battle again.
in bat_a01 there is no small room,
and I'm not a map designer that knows how to edit the map either
Hi sorry for that.
Anyway thank you for your script.
in bat_a01 there is no small room,
and I'm not a map designer that knows how to edit the map either
Hi, sorry if my details was incomplete. i was referring to this place
There is also Error on your provided Script (e6puqfaaqqn/txt/)
[Error]: script:callfunc: function not found! [rand__][Debug]: Source (NPC): bg_emp#control (invisible/not on a map) -
-
ok ... ok ... I know
because the script you posted were using very old technique of mine
I have to rewrite the whole script from scratch
[paste=3k6v0lc64gm2] <--- just a rewrite of previous script you posted with newer techniques
now I have to double post after I done your request ... pssshhh....
Sorry
Anyway thankyou for your reply.
I tested the script and work well. but my request was not here
1st. - When you die. you will be warp into a small room with healer and a delay before you can join the battle again.
2nd. - 2nd. A 3 layer Barricade to be destroyed before you are able to attack Emperium.
(Destroy 1st barricard> destroy 2nd barricard > destroy 3rd Barricade > emperium)
and this barricade can be only restore when the game is restart or move to next round.
and also if i could request (optional only hehe if you dont want its okay )
a post of you but i can't understand and don't know how to add this in your BG_EMP script (with bindcmnd - @bgemp @bgleave)
(http://rathena.org/board/topic/72571-battleground-system-without-waitingroom/)
Really appreciate your help
Thnx
-
Download:
-----------------------------------------
*createbgid <respawn map>, <respawn x>, <respawn y>, <On Quit event>, <On Death event>;
create a specific battleground ID, for the rest .... refer to doc
.red = createbgid( "guild_vs3", 13,50, strnpcinfo(0)+"::Onredout", strnpcinfo(0)+"::Onreddead" ); .blue = createbgid( "guild_vs3", 86,50, strnpcinfo(0)+"::Onblueout", strnpcinfo(0)+"::Onbluedead" );
-----------------------------------------
*setbgid <battleground ID> {, <player name> };
*setbgid <battleground ID> {, <player account ID> };
player attached to the script will join the battleground team,
but if a player name ( or account ID ) is specify, will let that player join the battleground team
warpwaitingpc "guild_vs3", 0,0; for ( .@i = 0; .@i < $@warpwaitingpcnum; .@i++ ) setbgid ( .@i % 2 )? .red : .blue, $@warpwaitingpc[.@i];
the command returns positive number ( > 0 ) if the function is successful
if it return negative :-
-1: the battleground team haven't create yet ... has to be create with createbgid
-2: the team already full, it reached MAX_BG_MEMBERS = 30 which can increase at src\map\battleground.h
-3: player not found ... happens when the input <player name> is not online or not found
-5: the player already join the battleground ID that you specify
if the player has joined battleground ID 500, and you use setbgid 700;
this will force the player to leave battleground ID 500 and join battleground ID 700 without any notification
( player who same group will receive a message mention that "player xxx leaving battlefield" )
only when the player joined bg ID 500, and use setbgid 500; then only the command return -5
but the script will still continue running without posting any error, so don't worry
setbgid 0; is equal to bg_leave;
and setbgid 0, "annie"; or setbgid 0, 2000000;
will make the player "annie" ( or account id 2000000 ) leave the battleground team without using attachrid + bg_leave
-----------------------------------------
*getbgusers <battleground ID>;
similar to getpartymember <party ID>, 2; // <-- return account ID
this will create an array "$@arenamembers" holding all the player's account ID from the battleground team
and $@arenamembersnum is equal to bg_get_data(<battleground ID>, 0), just like $@partymembercount
getbgusers .red; for ( .@i = 0; .@i < $@arenamembersnum; .@i++ ) getitem 501, 1, $@arenamembers[.@i];
-----------------------------------------
*bg_kickall <battleground ID>;
kick every player out from the battleground team
this command is counter-part from bg_destroy
-----------------------------------------
currently don't have enough samples for this new method,
because I've done a few battleground script ...
and it seems members are prefer not to use source modification ... o.o
[spoiler=OLD method]
Download:
-----------------------------------------
*createbgid <respawn map>, <respawn x>, <respawn y>, <On Quit event>, <On Death event>;
create a specific battleground ID, for the rest .... refer to doc
-----------------------------------------
*setbgid <battleground ID> {, <player name> };
player attached to the script will join the battleground team,
but if a player name ( or account ID ) is specify, will let that player join the battleground team
the command returns positive number ( > 0 ) if the function is successful
if it return negative :-
-1: the battleground team haven't create yet ... has to be create with createbgid
-2: the team already full, it reached MAX_BG_MEMBERS = 30 which can increase at src\map\battleground.h
-3: player not found ... happens when the input <player name> is not online or not found
-4: invalid battleground ID ... currently only accept ID range within 1~1000
-5: the player already join the battleground ID that you specify
if the player has joined battleground ID 500, and you use setbgid 700;
this will force the player to leave battleground ID 500 and join battleground ID 700 without any notification
only when the player joined bg ID 500, and use setbgid 500; then only the command return -5 <-- failed
setbgid 0; is equal to bg_leave;
and setbgid 0, "annie"; or setbgid 0, 2000000;
will make the player "annie" ( or account id "]2000000 ) leave the battleground team without using attachrid + bg_leave
-----------------------------------------
*getbgusers <battleground ID>;
similar to getpartymember <party ID>, 2; // <-- return account ID
this will create an array "$@arenamembers" holding all the player's account ID from the battleground team
and $@arenamembersnum is equal to bg_get_data(<battleground ID>, 0), just like $@partymembercount
-----------------------------------------
*bg_kickall <battleground ID>;
kick every player out from the battleground team
this command is counter-part from bg_destroy
-----------------------------------------
remember these steps
- use OnInit with createbgid
- use setbgid to let player join
eg: this battleground script use bg id 1 & 2, next battleground script use bg id 3 & 4 ( bg id is self generated in ascending order )
Example ...
- npc "aaa" doesn't use any custom script command
- npc "bbb" is the one that using these script commands
difference is quite a lot
although both also can achieve the battleground team creation,
but its obvious the 2nd one is much much cleaner and more feature
Example :
use OnInit + createbgid, then use setbgid to attach 2 teams on the event controller npc
if your script assigned bg_id 1 & 2, then your script use bg_warp 1 ... and bg_warp 2 ...EDITED SCRIPT :
prontera,155,181,5 script Sample 100,{ mes "Battlegound"; if ( select ( "join/leave", "warp all bg members to you" ) == 1 ) if( getcharid(4) ){ bg_leave; dispbottom "Leave BG"; }else{ setbgid .bg_id; dispbottom "Joined BG"; } else if ( getcharid(4) == 0 ) dispbottom "you didn't join a battleground team"; else { getmapxy .@map$, .@x, .@y, 0; bg_warp .bg_id, .@map$, .@x, .@y; } close; OnInit: getmapxy .@map$, .@x, .@y, 1; .bg_id = createbgid( .@map$, .@x, .@y, "", "" ); end; }
the current sample script should be look like this now .... battleground will auto generate the Battle Group ID , you cant assign the ID.
tested and work fine in rev 17532 ...
[spoiler='Archive']
Hello Annie,
Can i request if you could provide a Sample script of this with your BG_EMP? i really appreciate your works
-
bump
Bump
-
Hi,
Can i request for edits for AnnieRuru's BG Emp(http://pastebin.com/9S1VsJYJ) like
When you die. you will be warp into a small room with healer and a delay before you can join the battle again.
2nd. A 3 layer Barricade to be destroyed before you are able to attack Emperium.
(Destroy 1st barricard> destroy 2nd barricard > destroy 3rd Barricade > emperium)
and this barricade can be only restore when the game is restart or move to next round.
Thank you. -
Hi,
Don't know where to post.
Does anyone know where can i buy a Asia (Better in singapore or hong kong) unmanage vps?
That allow to host game server?
thnx -
How about setting up an ro? Is it the same?
And does it have ddos protection?
And i also use putty and winscp to communicate with my server, not using vnc.
Yes.
Unamanage vps - you still need to install phpmyadmin (Linux)
and same procedure installing ragnarok server.
i think http://budgetvm.com/ does not offer a ddos protection. try searching in the google.
yes root access with ssh remote.
-
Hey, I just wanted to know if using a non-ro vps is actually better than using an RO vps. And if yes, what's the best hosting should I go for?
And also, is there any difference in setting up a RO on a non-RO VPS? If yes, would you please help me?
You men Unmanage vps?
The advantage of this its more cheaper that the Ro vps
also its more Free to access to this.
-
Yea, totally agree with you.
hehe i wonder if somebody can make a mod for this xD
-
@unloadnpcpath
@loadnpc
/doc/atcommands.txt
As i remember something like that already implement.
Sometimes unloadnpcfile does not work.
It says (cannot unloadnpcfile not found) even i just enter it using loadnpc.
And it would be too much time loading the script of all hehe
-
Hi,
Anyone can edit this command?
example
@reloadscript (will reload All script)
if
@reloadscript scripts_athena.conf - will reload all the contents in this file only
@reloadscript pre/scripts_athena.conf - will reload all the contents in this file only
Thank you,
the reason of this is i want to seperate the Mob reload.
So that when i reloadscript it will not affect the mobs.
-
seconds = DIFF_TICK(td->tick,gettick())/1000;
try replacing 1000 with 5000 might work
im not sure its worth the try though
Already tried replacing /1000 with some numbers
Still can't find out the 60seconds
-
skill_cast_db.txt
check it in db/pre-re if your using prere
check it in db/re if your using renewal//===== Guild Skills =======================//-- GD_EMERGENCYCALL10013,0,0,0,0,300000,0,5000// SkillID,CastingTime,AfterCastActDelay,AfterCastWalkDelay,Duration1,Duration2,Cool Down,Fixed Casting Timechange the cool down to your likingHi,
Thanks for the reply
This still block by that src command .
im using rAmod. so i was asking about src time script
This Script
seconds = DIFF_TICK(td->tick,gettick())/1000;
Is for 5minutes
how can i make it 1minute?
-
Hi,
Anyone can help me w/ this script?
I want it to make the cooldown t 1minute only
(5mins cd, ecall)void guild_block_skill_status(struct guild *g, int skill_id){const struct TimerData * td;char output[128];int seconds, idx;idx = battle_config.guild_skills_separed_delay ? skill_id - GD_SKILLBASE : 0;if( g == NULL || idx < 0 || idx >= MAX_GUILDSKILL || g->skill_block_timer[idx] == INVALID_TIMER )return;if( (td = get_timer(g->skill_block_timer[idx])) == NULL )return;seconds = DIFF_TICK(td->tick,gettick())/1000;sprintf(output, "%s : Cannot use guild skill %s. %d seconds remaining...", g->name, skill_get_desc(skill_id), seconds);clif_guild_message(g, 0, output, strlen(output));}
@market
in Script Requests
Posted
Hi,
I wonder if anyone can make a rathena version of this
http://hercules.ws/board/files/file/160-market/