java
Members-
Content Count
19 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by java
-
Hi, i was left from RO long time ago and now i want to run my offline server, but several code is outdate, can someone fix code for me here is new herc: for (int i = 0; i < MAX_PARTY; i++) { if ((p_sd = p->data[i].sd) == NULL || p_sd->status.party_id != p_id || pc_isdead(p_sd)) continue; if (p->party.member[i].online == 0 || (!include_leader && p->party.member[i].leader == 1)) continue; if (m_name_from != NULL && strcmp(m_name_from, map->list[p_sd->bl.m].name) != 0) continue; if (!ignore_mapflags) { if (((type == 0 || type > 2) && map->list[p_sd->bl.m].flag.nowarp == 1) || (type > 0 && map->list[p_sd->bl.m].flag.noreturn == 1)) continue; } if (type == 1) { map_index = p_sd->status.save_point.map; x = p_sd->status.save_point.x; y = p_sd->status.save_point.y; } if (type > 0) if(pc_isdead(p_sd)) status->revive(&p_sd->bl, 1, 1); //and this line is what i want to add but seems not compatible pc->setpos(p_sd, map_index, x, y, CLR_TELEPORT); //else //pc->randomwarp(p_sd, CLR_TELEPORT); // this is original updated from herc } script_pushint(st, 1); return true; } and this is old herc for (i = 0; i < MAX_PARTY; i++) { if( !(pl_sd = p->data[i].sd) || pl_sd->status.party_id != p_id ) continue; if( str2 && strcmp(str2, map->list[pl_sd->bl.m].name) != 0 ) continue; if( pc_isdead(pl_sd) ) continue; switch( type ) { case 0: // Random if(!map->list[pl_sd->bl.m].flag.nowarp) pc->randomwarp(pl_sd,CLR_TELEPORT); break; case 1: // SavePointAll if(!map->list[pl_sd->bl.m].flag.noreturn) pc->setpos(pl_sd,pl_sd->status.save_point.map,pl_sd->status.save_point.x,pl_sd->status.save_point.y,CLR_TELEPORT); break; case 2: // SavePoint if(!map->list[pl_sd->bl.m].flag.noreturn) pc->setpos(pl_sd,sd->status.save_point.map,sd->status.save_point.x,sd->status.save_point.y,CLR_TELEPORT); break; case 3: // Leader case 4: // m,x,y //if(!map->list[pl_sd->bl.m].flag.noreturn && !map->list[pl_sd->bl.m].flag.nowarp) if(pc_isdead(pl_sd)) status->revive(&pl_sd->bl, 1, 1); //i want to make this line compatible to newest herc pc->setpos(pl_sd,map_index,x,y,CLR_TELEPORT); break; } } return true; } any help is appreciated
-
it's work a charm bro
-
the error said clearly, that port 80 is in use by another dude, do you install phpmyadmin together? or some app that use port 80?
- 403 replies
-
- ragnarok test server
- your home server
-
(and 3 more)
Tagged with:
-
must have unpacked exe 1st dude
- 403 replies
-
- ragnarok test server
- your home server
-
(and 3 more)
Tagged with:
-
what error you have? just check packet version at mmo.h, are you trying to get online or just running at localhost?
- 403 replies
-
- ragnarok test server
- your home server
-
(and 3 more)
Tagged with:
-
configure: error: MySQL not found or incompatible
java replied to snowflake1963's question in General Server Support
try this for 64 bit sudo apt-get install default-libmysqlclient-dev -
try this one , it's work for me my .htaccess RewriteEngine on RewriteCond $1 !^(index\.php|public|\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?$1
-
generate-translations is not working, please fix it, it's work now , ty
-
adding .conf should be into conf/map/battle/battle.conf not conf/map/battle/featured.conf
-
nice dude thank you
-
where to find this resource of this :
-
damn... its rock!!
-
create user for your flux and give permission at phpmyadmin
-
@hemagx hi ... thank you too
-
hi i just try to modify @dance hehe to install this plugin maybe u must read at wiki 1st ( if new to hercules ) for windows go to : http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC and for unix go to : http://herc.ws/wiki/Building_HPM_Plugin_for_gcc and this is the source code for @dance #include <stdio.h>#include <string.h>#include "../common/HPMi.h"#include "../map/script.h"#include "../map/pc.h"HPExport struct hplugin_info pinfo ={ "@dance", // Plugin name SERVER_TYPE_MAP,// Which server types this plugin works with? "0.1b", // Plugin version HPM_VERSION, // HPM Version (don't change, macro is automatically updated)};//===modified by jetkappu==ACMD(dance){int msg;msg = rand()%9;if ( msg == 1 || msg == 0) { clif->specialeffect(&sd->bl, 400, ALL_CLIENT); clif->specialeffect(&sd->bl, 413, ALL_CLIENT);} else if ( msg == 2 ) { clif->specialeffect(&sd->bl, 300, ALL_CLIENT); clif->specialeffect(&sd->bl, 414, ALL_CLIENT);} else if ( msg == 3 ) { clif->specialeffect(&sd->bl, 400, ALL_CLIENT); clif->specialeffect(&sd->bl, 415, ALL_CLIENT);} else if ( msg == 4 ) { clif->specialeffect(&sd->bl, 300, ALL_CLIENT); clif->specialeffect(&sd->bl, 426, ALL_CLIENT);} else if ( msg == 5 ) { clif->specialeffect(&sd->bl, 400, ALL_CLIENT); clif->specialeffect(&sd->bl, 458, ALL_CLIENT);} else if ( msg == 6 ) { clif->specialeffect(&sd->bl, 300, ALL_CLIENT); clif->specialeffect(&sd->bl, 466, ALL_CLIENT);} else if ( msg == 7 ) { clif->specialeffect(&sd->bl, 400, ALL_CLIENT); clif->specialeffect(&sd->bl, 501, ALL_CLIENT);} else if ( msg == 8 ) { clif->specialeffect(&sd->bl, 300, ALL_CLIENT); clif->specialeffect(&sd->bl, 540, ALL_CLIENT);} else if ( msg == 9 ) { clif->specialeffect(&sd->bl, 400, ALL_CLIENT); clif->specialeffect(&sd->bl, 550, ALL_CLIENT);}return true;}/* Server Startup */HPExport void plugin_init (void){ clif = GET_SYMBOL("clif"); script = GET_SYMBOL("script"); skill = GET_SYMBOL("skill"); HPMi->addCommand("dance",ACMD_A(dance));} that's just tiny modification, i make this just for fun, so ur player won't got bored when using @dance continously hehe and then diff ur hexed, so u and ur player can spam typing to ex : 10 times note: i just modify it, credit goes to owner.. ( i think this source made by onplay ) if im not wrong
-
i shocked when see that hercules growth so fast, im joined this forum at januari 2013, until this day im watching hercules progress .. its complicated when i want to moving from my emu to this one,, but now im sure that this community [ hercules itself ] it's the best place for re-started my RO hercules?? ROCKS!!