Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[v1.3] Statue and Paladin v1
#6
Why storing it, when you can select SUM(unit_paladin) from unit_place and checking if it isn't on it's way to another village.

Remember, the smart coding consists in storing less info in the database. But then comes the performance part,so you need to equilibrate these two factors.

Though, checking if the paladin exists after storing it in the databse, is quite nasty because the "bad coded" twlan script will ... your script up after some attacks with your paladin.
Reply


Messages In This Thread
Statue and Paladin v1 - by Felipe Medeiros - 27.12.2011, 18:24
RE: Statue and Paladin v1 - by sinner - 28.12.2011, 01:36
RE: Statue and Paladin v1 - by ON21 - 28.12.2011, 16:21
RE: Statue and Paladin v1 - by sinner - 02.01.2012, 01:45
RE: Statue and Paladin v1 - by Molt - 02.01.2012, 12:03



Users browsing this thread: 2 Guest(s)