• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

MoveEvent FootBall , automatic. [0.3.6 + 0.4]-Updated-

Code:
	 if getItemDescriptionsById(moveitem.itemid).type == ITEM_TYPE_MAGICFIELD then
	      doRemoveItem(moveitem.uid)
	  else
	   doPlayerAddItem(cid, moveitem.itemid,1)
	   doRemoveItem(moveitem.uid)
 
  	  end

So if you throw a backpack full with items on the ground, you get an empty backpack back xD
 
it should be created again when a team start a game again? try it.
 
You could make something that makes the ball move infront of you if you run on it. So it looks like u kick it infront of u. Dont know how you can do but guess u could do some kind of teleport + 1 in the direction you are looking =)
 
Dont`t Work comands..
ALTER TABLE players ADD goals int(11) DEFAULT = 0;

ALTER TABLE players ADD wins int(11) DEFAULT = 0;

ALTER TABLE players ADD total int(11) DEFAULT = 0;
 
Error
consulta SQL:

ALTER TABLE players ADD goals INT( 11 ) DEFAULT =0;


MySQL ha dicho:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= 0' at line 1

Used mysql..
 
The game is 2 time.. first and second.. correct?

But when i receive the message, second half begins, i'm teleported to temple of city.. But i not configured positions of temple or anything.
 
Just fast tested again , this doesnt happens to me , and no one had this problem, there shouldnt be any teleport to temple command untill both halfs ends.
 
that is another thing that cant be when game end you gain the normal speed of player level again

doChangeSpeed(cid, getSpeed(getPlayerLevel(cid)) - getCreatureSpeed(cid)))

It is wierd you getting these stuff. Have you made sure you are still with speed loss ?
 
I sorry ;p i tested it with gms.. default gms have high speed..

#edit..

exec a global event, each second, maybe it will lag server?

#edit2

I got debug when receive rewards.
 
Last edited:
[03/09/2010 23:50:14] [Error - GlobalEvent Interface]
[03/09/2010 23:50:14] buffer:eek:nStartup
[03/09/2010 23:50:14] Description:
[03/09/2010 23:50:14] [string "loadBuffer"]:3: attempt to index global 'c' (a nil value)
[03/09/2010 23:50:14] stack traceback:
[03/09/2010 23:50:14] [string "loadBuffer"]:3: in function <[string "loadBuffer"]:2>

[03/09/2010 23:49:46] [Error - MoveEvents Interface]
[03/09/2010 23:49:46] buffer
[03/09/2010 23:49:46] Description:
[03/09/2010 23:49:46] [string "c = {..."]:24: '}' expected near 'y'

[03/09/2010 23:54:13] [Error - Action Interface]
[03/09/2010 23:54:13] buffer:eek:nUse
[03/09/2010 23:54:13] Description:
[03/09/2010 23:54:13] [string "loadBuffer"]:47: attempt to index global 'c' (a nil value)
[03/09/2010 23:54:13] stack traceback:
[03/09/2010 23:54:13] [string "loadBuffer"]:47: in function <[string "loadBuffer"]:40>
Have that same Bug can somebody help me?? :p
 
You have done somthng wrong in editing the places.

Recopy and reedit right.

Or just show me your script after you edited it
 
I sorry ;p i tested it with gms.. default gms have high speed..

#edit..

exec a global event, each second, maybe it will lag server?

#edit2

I got debug when receive rewards.


Humm what debug? , nah wont lag server
 
Back
Top