java
Members-
Content Count
19 -
Joined
-
Last visited
About java
-
Rank
Member
Profile Information
-
Gender
Not Telling
-
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:
-
java reacted to a post in a topic: Ragnarok Offline Newbie Pack 2022 | Make your RO server in less then 5 minutes
-
ajoope reacted to an answer to a question: configure: error: MySQL not found or incompatible
-
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
-
java reacted to a status update: Heya! i just installed your Server Database Editor, but im having an issue. After i f
-
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
-
java reacted to a post in a topic: Ragnarok Unpacked Clients Repository (RUCR)
-
java reacted to an answer to a question: worldmap.jpg
-
where to find this resource of this :
-
milk reacted to a post in a topic: modified @dance
-
Legendary reacted to an answer to a question: A little help here please?
-
damn... its rock!!
-
create user for your flux and give permission at phpmyadmin
-
@hemagx hi ... thank you too