Jump to content

MrSky

Members
  • Content Count

    25
  • Joined

  • Last visited

Posts posted by MrSky


  1. Hi guys,

    i just done Harmony patch, and compiled with Visual C, it worked all fine, but on Linux it shows

     

    No rule to make target `obj_sql/atcommand.o', needed by `../../map-server'

    Already searched a lot but cant find solution, anyone can help?

     

    @Done can close


  2. Hey guys!

    Someone have/can make/help make a bg entrace npc, that can use this or any similar system, where i could enter with command instead of chatroom (i can make the command tho), to enter on Hercule's basic battlegrounds arenas like Tierra ou Flavius?

    I mean, i dont need a new bg, i just need a npc to enter on existing ones like Tierra or Flavius...


  3.  

    here is a sample  :)

     

    I'm trying this now, but dont show

    <?php 		$sql = "SELECT *value* FROM {$server->loginDatabase}.`global_reg_value` where `account_id` = `2000000` and `str` = `#CASHPOINTS`"; 		$sth = $server->connection->getStatement($sql);		$sth->execute();		$cash = $sth->fetchAll();	?>	<span class="balance-text">ROPs</span>	<span class="balance-amount"><?php echo number_format($cash) ?></span>

  4. Hi guys,

    my error is

    firstly i create a bg (.team), then create more 2 with te same variable used by hercules' bg, but always when i do this, the second person to enter, which goes for team 2, always leave bg just after enter, anyone can find the bug? D=

    OnStart:	$@TierraBG2_id1 = createbgid( "bat_a02",50,374, "start#bat_a02::OnGuillaumeQuit","" );	$@TierraBG2_id2 = createbgid( "bat_a02",42,16, "start#bat_a02::OnCroixQuit","");	getbgusers(.team);	for (set .@i,0; .@i < $@arenamembersnum; ++.@i)		setbgid ( .@i % 2 )? $@TierraBG2_id1 : $@TierraBG2_id2,$@arenamembers[.@i];	if ($@bgqueueon == 0) donpcevent "start#bat_a02::OnEnable";	bg_warp $@TierraBG2_id1,"bat_a02",352,342;	bg_warp $@TierraBG2_id2,"bat_a02",353,52;	if ($@bgqueueon == 0) announce "It Started!",bc_all,0x00CED1;	if ($@bgqueueon == 0) set $@bgqueueon,1;	bg_updatescore "bat_a02",0,0;	end;

     


  5. Im having a problem on this script

    OnInit:	bindatcmd "inittime",strnpcinfo(3)+"::OnInitTime";	bindatcmd "checktime",strnpcinfo(3)+"::OnCheckTime"; 

     

    First it init the timer attached with the player.

    OnInitTime:  attachnpctimer;  initnpctimer;

    then when i try check how many time passed

     

    OnCheckTime   dispbottom "Last "+getnpctimer(0)/1000+" seconds.";

    It always shows 0, only show correct time when i remove "attacnpctimer", but i want a timer attached to player not to npc...

     

    @edit

    Nvm, couldnt fix it, but i did a "trick" to do the same, can close it  ;)


  6. On atcommand.c, i want to make a timer like this:

    On use @reloadscript:

    broadcast 1;(TIMER with 2 seconds)broadcast 2;...then it reload scripts...

    I know how make broadcasts, but i need help to make the timer D=

    Anyone can help? =)

×
×
  • Create New...

Important Information

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