Jump to content

Hadeszeus

Members
  • Content Count

    651
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Hadeszeus

  1. Something like this <?php foreach ($serverStatus as $privServerName => $gameServers): ?><table id="server_status"> <?php foreach ($gameServers as $serverName => $gameServer): ?> <tr> <th class="server"><?php echo htmlspecialchars($serverName) ?></th> <td class="status"><?php echo $this->serverUpDown($gameServer['loginServerUp']) ?></td> <td class="status"><?php echo $this->serverUpDown($gameServer['charServerUp']) ?></td> <td class="status"><?php echo $this->serverUpDown($gameServer['mapServerUp']) ?></td> <td class="status"><?php echo $gameServer['playersOnline'] ?></td> </tr> <?php endforeach ?></table>
  2. Thanks Annie! Btw,I never had a chance to try Euphys quest shop.
  3. @offtopic Isn't that client unstable? I see there's many random crash with that client. It's works fine for me. hmmm...
  4. Yeah thats possible using rentitem2 plugin or package box. But I want something like this...
  5. @Annie I tested it and works fine, though I still need to do it to support multiple items. Actually, the whole idea of what I'm trying to do is simple. In real life if you want to buy something you really want to try it first before buying it. One of the option I have is something like this. I tried searching for similar idea but failed to find one. Maybe you know something like this?
  6. When you talk to an NPC. A define Item is directly equipped to users, then when the script ENDS the item will auto remove from the user including logout event. More info: When I say remove it means DELETE from equip or inventory.
  7. checking db/const https://github.com/HerculesWS/Hercules/blob/master/db/const.txt It does say Ele_Neutral 0Ele_Water 1Ele_Earth 2Ele_Fire 3Ele_Wind 4Ele_Poison 5Ele_Holy 6Ele_Dark 7Ele_Ghost 8Ele_Undead 9 I guess ghost = spirit I realized after posting this heeheh.. thanks btw.
  8. In item bonus script in doc. Is Spirit = Ghost? bonus2 bMagicAddEle,n,x; +x% magical damage against element n n: 0=Neutral, 1=Water, 2=Earth, 3=Fire, 4=Wind, 5=Poison, 6=Holy, 7=Dark, 8=Spirit, 9=Undead
  9. Sorry here's the code on that line. Line 18555 BUILDIN(getmemberaid) { uint16 i = 0; switch ( script_getnum(st,2) ) { // type case ALL_CLIENT: map->foreachpc( buildin_getmemberaid_ALL_pc, &i ); mapreg->setreg( script->add_str("$@onlinecount"), i ); return true; case ALL_SAMEMAP: { uint16 m; if ( script_hasdata(st,3) ) { if ( ( m = map->mapname2mapid( script_getstr(st,3) ) ) < 0 ) { Line 18577 case AREA: if ( script_hasdata(st,3) ) { if ( script_hasdata(st,4) && script_hasdata(st,5) && script_hasdata(st,6) && script_hasdata(st,7) ) { uint16 m; if ( ( m = map->mapname2mapid( script_getstr(st,3) ) ) < 0 ) { mapreg->setreg( script->add_str("$@onlinecount"), 0 ); return false; }
  10. Hi Annie, I just want to ask if this is okay? I'm getting this warning in compiling. Thank you! script.c: In function 'buildin_getmemberaid':script.c:18555: warning: comparison is always false due to limited range of data typescript.c:18577: warning: comparison is always false due to limited range of data type
  11. Thanks for this Bro. Problem Solved! I'm confused with the description. *isequippedcnt(<card id>{,<card id>{,<card id>{,<card id>}}})This function is similar to 'isequipped', but instead of 1 or 0, it will return the number of cards in the list given that were found on the invoking character. I thought its only for checking cards.
  12. bump... anyone interested in doing this kindly PM me..
  13. How can I write this? if 2 ring_ isequipped || isequippedcnt of IFRIT is == 2 bonus 1 else bonus 2 ???? if(isequipped(Ring_) == 2 ) || isequippedcnt(Ifrit_Card) == 2) { bonus bStr,50; } else { bonus bStr, 20; } Looks like isequipped only returns 1 and 0. Any possible way?
  14. You can get your CLIENT HERE http://hercules.endlessro.net/ You will only know if there's a problem once you run your server in hercules and if there's an error in MAP SERVER. Most of the time you will get letter case error or warning, and it's easy to fix
  15. DAMN! It works! If someone encounter the same problem like mine. just follow what Annie said. instance_set_timeout 60, 0, .@ins;instance_set_timeout 60, 1, .@ins;instance_set_timeout 0, 60, .@ins;
  16. Try a fresh copy Bro. @btw mine is different now.. It works most of the time like 90% there are instances that when I enter I got automatically warp on save point.. but most of the time it works perfectly. Like 10:1 ratio. I'm deleting my files now on live server and redownload the fresh one.
  17. hercules has instance system that can attach on guild ID -> IOT_GUILDand I have some ideas to make a guild base script that every guild will have their own base, which instanced to each guild if people keep saying this and that my instance script not working, then I don't want to make this guild base script anymore Updating my copy in my local didn't solved the problem. BUT downloading a fresh copy did. It's working now. I just need to figure out whats causing the problem on my server. I'm so noob with this linux command, really having a hard time updating configuring files etc.. zzzzzz... Sure thing is, instance dungeon works fine as long as you are running the latest rev.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.