Current time: 29.11.2024, 10:29 Hello There, Guest! (LoginRegister)
Language: english | russian  

Thread Closed 
Threaded Mode | Linear Mode
Pandora's API
» технический мод
Author Message
gamecreator Offline

Posts: 7107
Post: #27

Receiver QU help Wrote:Some of these values may return garbage when checking for predefined seer huts (e.g. number of creatures). You will have to truncate such values to the appropriate size manually.
This means that in some cases these values occupy less than 4 bytes, but QU:R returns all 4 bytes. You can extract the real value either with VR:&(X-1) or VR:%X where X is 2^number of bits. I would guess primary skills, morale and luck occupy 8 bits (or 1 byte), which means X=2^8=256. Don't remember about creatures, probably somewhere between 10 and 16 bits.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
02.05.2015 20:14
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


Messages In This Thread
Pandora's API - gamecreator - 07.09.2014, 20:09
RE: Pandora's API - Berserker - 07.09.2014, 20:47
RE: Pandora's API - Valery - 07.09.2014, 21:47
RE: Pandora's API - gamecreator - 07.09.2014, 21:58
RE: Pandora's API - gamecreator - 07.09.2014, 23:04
RE: Pandora's API - igrik - 08.09.2014, 16:13
RE: Pandora's API - gamecreator - 08.09.2014, 16:25
RE: Pandora's API - orzie - 09.09.2014, 00:16
RE: Pandora's API - gamecreator - 09.09.2014, 01:46
RE: Pandora's API - Valery - 09.09.2014, 10:28
RE: Pandora's API - Bes - 09.09.2014, 02:11
RE: Pandora's API - feanor - 10.09.2014, 22:36
RE: Pandora's API - gamecreator - 28.09.2014, 23:18
RE: Pandora's API - Berserker - 28.09.2014, 23:25
RE: Pandora's API - gamecreator - 08.11.2014, 20:16
RE: Pandora's API - Berserker - 09.11.2014, 01:10
RE: Pandora's API - igrik - 09.11.2014, 22:56
RE: Pandora's API - gamecreator - 09.11.2014, 23:16
RE: Pandora's API - Valery - 11.02.2015, 08:25
RE: Pandora's API - gamecreator - 11.02.2015, 12:17
RE: Pandora's API - Valery - 11.02.2015, 15:07
RE: Pandora's API - gamecreator - 11.02.2015, 18:51
RE: Pandora's API - Valery - 11.02.2015, 19:25
RE: Pandora's API - gamecreator - 11.02.2015, 19:30
RE: Pandora's API - Valery - 11.02.2015, 19:52
RE: Pandora's API - Valery - 02.05.2015, 17:09
RE: Pandora's API - gamecreator - 02.05.2015 20:14
RE: Pandora's API - Berserker - 02.05.2015, 20:23
RE: Pandora's API - Valery - 02.05.2015, 21:10
RE: Pandora's API - gamecreator - 02.05.2015, 21:17
RE: Pandora's API - Valery - 02.05.2015, 21:19
RE: Pandora's API - gamecreator - 02.05.2015, 21:36
RE: Pandora's API - Valery - 02.05.2015, 21:45
RE: Pandora's API - gamecreator - 02.05.2015, 22:22
RE: Pandora's API - Valery - 02.05.2015, 22:29
RE: Pandora's API - gamecreator - 02.05.2015, 22:47
RE: Pandora's API - Valery - 02.05.2015, 22:50
RE: Pandora's API - Valery - 02.05.2015, 23:07
RE: Pandora's API - gamecreator - 03.05.2015, 00:27
RE: Pandora's API - Valery - 03.05.2015, 00:37
RE: Pandora's API - Valery - 03.05.2015, 00:45
RE: Pandora's API - gamecreator - 03.05.2015, 01:07
RE: Pandora's API - Valery - 03.05.2015, 01:14
RE: Pandora's API - gamecreator - 03.05.2015, 01:22
RE: Pandora's API - Valery - 03.05.2015, 01:27
RE: Pandora's API - gamecreator - 03.05.2015, 01:34
RE: Pandora's API - Valery - 03.05.2015, 01:38
RE: Pandora's API - gamecreator - 03.05.2015, 01:50
RE: Pandora's API - Valery - 05.05.2015, 08:34
RE: Pandora's API - gamecreator - 05.05.2015, 10:39
RE: Pandora's API - gamecreator - 05.05.2015, 14:08

Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group