• 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!

AAC Znote: dynamic boosted creature, read raceid from DB

Fermantor

Active Member
Joined
Dec 16, 2009
Messages
209
Solutions
4
Reaction score
33
Location
Germany
Hello, I tried to get this working on my own, but failed. How can I get the raceid from the db and enter is as the current raceid, so the monster shows right on the client?

I changed this in login.php
PHP:
'raceid' => 219

to this
PHP:
'raceid' => mysql_select_single("SELECT `raceid` FROM `boosted_creature`")['raceid']

But then it's not showing anything.

Also what am I doing wrong, that the events are not shown in the calender?
 
Hello, I tried to get this working on my own, but failed. How can I get the raceid from the db and enter is as the current raceid, so the monster shows right on the client?

I changed this in login.php
PHP:
'raceid' => 219

to this
PHP:
'raceid' => mysql_select_single("SELECT `raceid` FROM `boosted_creature`")['raceid']

But then it's not showing anything.

Also what am I doing wrong, that the events are not shown in the calender?

Up,
@Znote
 
Back
Top