Shard issues in spring 89

Shard issues in spring 89

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Shard issues in spring 89

Post by Forboding Angel »

Infolog hit 57mb, full of this:

Code: Select all

[f=0000000] <SkirmishAI: Shard dev (team 0)>: added UnitHandler module
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Shard issues in spring 89

Post by Tobi »

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Shard issues in spring 89

Post by Forboding Angel »

Thanks for the update Tobi. Is there anything I can do in the meantime, or do I just need to hold my horses and wait till it's sorted?

I was wanting to make some more youtube vids, but it's not like the sky will fall if I don't get to them right this second :-)
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Shard issues in spring 89

Post by Tobi »

No need to do anything unless you have a good guess as to what the cause is: As far as I know no one yet has a clue why this is happening :|

(looks a bit like memory corruption, but valgrind didn't find anything)
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Shard issues in spring 89

Post by AF »

Try using my last VS build, I'm not sure if it still works though as nobodies given feedback

Could this be related at all to how Shards lua vm is being linked in and possible crossover with springs own lua vm fork?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Shard issues in spring 89

Post by Tobi »

I considered that option, but dismissed it as unlikely since in Shard you integrate Lua as C source code, while Spring integrates Lua as C++ source code, so Spring's Lua has all its names mangled. (I also checked this using nm and/or objdump)
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Shard issues in spring 89

Post by abma »

i hopefully fixed the issue...

@Forb: can you please try if http://springrts.com/dl/buildbot/defaul ... -gb9e0932/ works? (either the portable or the minimal portable)
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Shard issues in spring 89

Post by Forboding Angel »

Just saw this. I'll give it a shot today and report back. Thanks :)
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Shard issues in spring 89

Post by Forboding Angel »

Loads up fine, does nothing. Infolog: http://pastebin.com/F2JRuzUj

One thing interesting to note. First time I started, there was an issue with unit_scripts.lua (ya know, the gadget that loads lus), so I removed it as all my scripts are COB. However, while it didn't crash the game, It took out the gadget handler.

It took me a minute to realize that the gadget handler was toast, and before I figured that out I had spawned a commander on both sides. When I spawned one for shard, it started building and stuff.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Shard issues in spring 89

Post by abma »

ok, thanks for testing. the endless loop seems to be fixed. that it does nothing ... hmm, maybe the datafiles of Shard for evorts have to be updated?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Shard issues in spring 89

Post by Forboding Angel »

But why would it function when the gadget handler tanked the first time?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Shard issues in spring 89

Post by AF »

Separate lua VMs, this is more likely an issue with the gadget handler being taken out interrupting the expected flow of events. Hence why shard started building once given a commander
Post Reply

Return to “AI”