Jump to content

mybitch

Members
  • Content Count

    291
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by mybitch


  1.  

     

    find this themes/server/status.php

     

     

    <?php if (!defined('FLUX_ROOT')) exit; ?><h2><?php echo htmlspecialchars(Flux::message('ServerStatusHeading')) ?></h2><p><?php echo htmlspecialchars(Flux::message('ServerStatusInfo')) ?></p><?php foreach ($serverStatus as $privServerName => $gameServers): ?><h3>Server Status for <?php echo htmlspecialchars($privServerName) ?></h3><table id="server_status">	<tr>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusServerLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusLoginLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusCharLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusMapLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusOnlineLabel')) ?></td>	</tr>	<?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><?php endforeach ?>

     

    replace by..

     

     

    <?php if (!defined('FLUX_ROOT')) exit; ?><h2><?php echo htmlspecialchars(Flux::message('ServerStatusHeading')) ?></h2><p><?php echo htmlspecialchars(Flux::message('ServerStatusInfo')) ?></p><?php foreach ($serverStatus as $privServerName => $gameServers): ?><h3>Server Status for <?php echo htmlspecialchars($privServerName) ?></h3><table id="server_status">	<tr>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusServerLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusLoginLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusCharLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusMapLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusOnlineLabel')) ?></td>	</tr>	<?php foreach ($gameServers as $serverName => $gameServer): ?>	<tr>		<th class="server"><?php echo htmlspecialchars($serverName) ?></th>		<td class="status"><?php echo $this->ONLINE ?></td>		<td class="status"><?php echo $this->ONLINE ?></td>		<td class="status"><?php echo $this->ONLINE ?></td>		<td class="status"><?php echo $gameServer['playersOnline'] ?></td>	</tr>	<?php endforeach ?></table><?php endforeach ?>

    doesnt work..your status is different to my status

     

    You should have told me that you're not using a default theme.


  2. find this themes/server/status.php

     

     

    <?php if (!defined('FLUX_ROOT')) exit; ?><h2><?php echo htmlspecialchars(Flux::message('ServerStatusHeading')) ?></h2><p><?php echo htmlspecialchars(Flux::message('ServerStatusInfo')) ?></p><?php foreach ($serverStatus as $privServerName => $gameServers): ?><h3>Server Status for <?php echo htmlspecialchars($privServerName) ?></h3><table id="server_status">	<tr>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusServerLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusLoginLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusCharLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusMapLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusOnlineLabel')) ?></td>	</tr>	<?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><?php endforeach ?>

     

    replace by..

     

     

    <?php if (!defined('FLUX_ROOT')) exit; ?><h2><?php echo htmlspecialchars(Flux::message('ServerStatusHeading')) ?></h2><p><?php echo htmlspecialchars(Flux::message('ServerStatusInfo')) ?></p><?php foreach ($serverStatus as $privServerName => $gameServers): ?><h3>Server Status for <?php echo htmlspecialchars($privServerName) ?></h3><table id="server_status">	<tr>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusServerLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusLoginLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusCharLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusMapLabel')) ?></td>		<td class="status"><?php echo htmlspecialchars(Flux::message('ServerStatusOnlineLabel')) ?></td>	</tr>	<?php foreach ($gameServers as $serverName => $gameServer): ?>	<tr>		<th class="server"><?php echo htmlspecialchars($serverName) ?></th>		<td class="status"><?php echo $this->ONLINE ?></td>		<td class="status"><?php echo $this->ONLINE ?></td>		<td class="status"><?php echo $this->ONLINE ?></td>		<td class="status"><?php echo $gameServer['playersOnline'] ?></td>	</tr>	<?php endforeach ?></table><?php endforeach ?>

  3.  

    Don't use '127.0.0.1' on your server.php, instead, put your real IP address there.

     

    it is already set

    >Maybe the website doesn't allow outgoing ports? 

    i think it does not allow.. how can i fake the offline text there and make it to online?

     

     

    themes/status/status.php if i'm not mistaken..


  4. This needs more info because of some facts:

    • You want the script to change rates depending only on online users? You also need to delay the check and change of the experience rates. You also make this check every login/logout, but you shouldn't broadcast it because there'd be so many announces.
    • What fashion you want exp rates to change: Arithmetic (A + BX)? Geometric (A + X^ B)? Is there a cap?
    • You know idle and autotrade users will count towards this amount? There's no simple way to take them out of this count of online users, but it can still be made

    I've thought of other points but don't remember right now. Try to be more descriptive on those requests and anticipate any questions you could get ;) .

     

    1. Yes it checks every player login/logout. If population has been met the rates will automatically changed.

    2. The rates cap could be in the range of 400-500 (Current rates: 300)

    3. I can remove them using a new source that check online users without the vending.. Its like getusers_novend


  5. on the svn there's a floating_rates script. I would like to request it to be changed in to..

     

    During Mondays (0:00) to Friday 16:00 the script provided on the svn will be activated and it doesn't check for time but check for online players..

     

    And during Friday 16:00 to Sunday 22:00 the rates will be flat 5x-5x..

     

    Thanks.


  6. Try to comment same lines I've commented here, in skill.c:

     

    		case RG_BACKSTAP:			{				uint8 dir = map_calc_dir(src, bl->x, bl->y), t_dir = unit_getdir(bl);				if ((!check_distance_bl(src, bl, 0) && !map_check_dir(dir, t_dir)) || bl->type == BL_SKILL) {					status_change_end(src, SC_HIDING, INVALID_TIMER);					skill->attack(BF_WEAPON, src, src, bl, skill_id, skill_lv, tick, flag);					// dir = dir < 4 ? dir+4 : dir-4; // change direction [Celest]					// unit_setdir(bl,dir);				}				else if (sd)					clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);			}			break;

    This won't make Back Stab spammable because you'd need to hide again for doing it again. Comment the status_change_end line if you want not to unhide and make it spammable while hidden (I wouldn't reccomend that).

     

    How about enable 1st hiding then BS after it . back stable is spammable.


  7. Could you give us a bit of more information? Like if you want a random monster or map among all the entire database, or some special mobs or maps you want to use?

     

    I'd suggest a whitelist of selected mobs or maps because the random map/monster picking may be impossible to use that week.

     

    Sorry if the information was incomplete. So the Map|Mob of the week goes like this..

    • Choose any field/dungeon maps every weekend or weekdays or any day.
    • If it has already chosen a map, the exp gain for that map will be doubled.

    And for the Mob:

    • Same as the map. By chance a random one. Hehehe! Except for the maps|mobs having boss or mini boss.


  8. I'm using my cellphone, don't uncommenting, you have to copy these scripts and past in your current scripts.

     

    if you are using renewal go to db/re/item_db.txt and search for the current scripts for wedding.

     

    Still the same after copying them to pre-re/item_db.txt :(( doesn't change sprite.


  9. As the title says, where can I find it? Thanks! Also the one that can change your sprite to a wedding sprite when actually on the script?

     

    Was it changebase? Does it work in hercules? Also, do I need to set this?

     

     

     // Do not display cloth colors for the wedding costume?// Note: Both save_clothcolor and wedding_modifydisplay have to be enabled// for this option to take effect. Set this to yes if your cloth palettes // pack doesn't has wedding palettes (or has less than the other jobs)wedding_ignorepalette: no

     

    I can't seem to change the base using changebase I have this current code..

     

     

    2338,Wedding_Dress,Wedding Dress,5,43000,,500,,0,,0,0xFFFFFFFE,7,2,16,,0,1,0,{ bonus bMdef,15; changebase 22; },{},{}

     

    after equiping the dress it doesn't change. Did I do something wrong?

×
×
  • Create New...

Important Information

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