Search found 212 matches

by Zidane
Thu Jul 02, 2020 5:34 pm
Forum: Urban Assault General
Topic: UA:Source
Replies: 357
Views: 61632

Re: UA:Source

https://github.com/Marisa-Chan/UA_sourc ... 5b921f7a58
This already fix compilation warnings. I've compile current version and place link in first post
by Zidane
Thu Jul 02, 2020 10:34 am
Forum: Urban Assault General
Topic: UA:Source
Replies: 357
Views: 61632

Re: UA:Source

Found what cause it. They modify child list of unit from update code of missile that was in child list of child list of child list: [base] ---> [commander] ---> [units] ---> [missiles] /\ /\ \/ +----------------+-----modify------+ That is bad because it's invalidate next unit pointers while we itera...
by Zidane
Thu Jul 02, 2020 6:22 am
Forum: Urban Assault General
Topic: UA:Source
Replies: 357
Views: 61632

Re: UA:Source

I forgot to report this earlier, but some time before I've received a message that this method of compiling on Windows does not work anymore. Apparently the error occurs at this part: make msys -j 4 I have not tested it myself recently, but could you please look into it later? I see only warnings a...
by Zidane
Mon Jun 29, 2020 5:11 pm
Forum: Drones
Topic: Discord Problem
Replies: 37
Views: 1545

Re: Discord Problem

your not the only one, i was banned from the discord months ago for the same reasons. I called out the poor administration and was blocked. They want to keep the peace in discord by favoritism and purging all both sides of the arguments. If 2 people argue, 1 on the right and 1 on the wrong both are...
by Zidane
Sun Apr 05, 2020 3:32 am
Forum: Urban Assault General
Topic: UA:Source
Replies: 357
Views: 61632

Re: UA:Source

GoldStar611 wrote:
Sun Apr 05, 2020 2:15 am
Which method are you using to compile for windows? I'd be interested in having/updating my build scripts.
This one
by Zidane
Tue Feb 18, 2020 5:05 pm
Forum: Modding, Game Data, & Glitches
Topic: History Buffer
Replies: 2
Views: 572

Re: History Buffer

It's contain history of events for debriefing plus score calculations. Recently I did refactor it and now all types and structures in https://github.com/Marisa-Chan/UA_source/blob/master/src/world/history.h 1. Read byte from history buffer 2. Select type of history record by this byte 3. Read data b...
by Zidane
Tue Feb 04, 2020 5:01 pm
Forum: Modding, Game Data, & Glitches
Topic: Known bugs of UA
Replies: 49
Views: 6141

Re: Known bugs of UA

Division by 1000 and just shift register by 10 bits to right.
Shifting is much faster, but it's in debriefing, where no 3d and other computations.... looks like that do by different people in different time.
by Zidane
Mon Feb 03, 2020 7:31 am
Forum: Modding, Game Data, & Glitches
Topic: Known bugs of UA
Replies: 49
Views: 6141

Re: Known bugs of UA

I was slightly incorrect, it's not "owner == 1", it's just in debriefing code, like this:

"sprintf(buf_0,"%d",mb->LocalStats[1].Score);"


Also, about time:
In some places it's divided by 1000 and in other it's divided by 1024!

Like in debriefing it's 1024 and on save/load screen it's 1000!
by Zidane
Sun Feb 02, 2020 3:49 pm
Forum: Modding, Game Data, & Glitches
Topic: Known bugs of UA
Replies: 49
Views: 6141

Re: Known bugs of UA

When I adds support for metropolis I found in some places still used "owner == 1" expression.
by Zidane
Thu Jan 09, 2020 12:34 pm
Forum: Urban Assault General
Topic: UA:Source
Replies: 357
Views: 61632

Re: UA:Source

Brilliant discovery, Zidane! Now it clearly explains why this bug occurs in the first place... I've just tested it with vanilla UA, and yes - it does seem to exist in original UA too! :o Strange how did I missed this before, then it looks like I have formerly made a wrong statement that the bug doe...