View topic - Kernel Panic 4.4



All times are UTC + 1 hour


Post new topic Reply to topic  [ 39 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Kernel Panic 4.4
PostPosted: 19 Jan 2012, 22:32 
Kernel Panic Co-Developer
User avatar

Joined: 16 Nov 2004, 13:08
Kernel Panic 4.4 out!


Image

4.3 -> 4.4 changes:
  • Much better Shoot'n'Run gadget: less network use, less stutter, more responsivness, ...
  • More versatile alias system in the ModifyStatistics system, like you can type "spam weapon range x2" to increase the range of the weapons of all units in the spam category, instead of having to remember the individual name of all their weapons.
  • Changed game_over.lua to account for removal of isCommander tag.
  • Added extra check when dispatching packets: They now check the area is "buildable" instead of just "free".


Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 02 Feb 2012, 00:15 

Joined: 08 Oct 2009, 01:00
Hi, I'm packaging KP for debian, and I'll do with 4.4 release.

I would ask a question, about the 'Public Domain' concept, it is ok for a license text like this one:

Quote:
The Work may be freely reproduced, distributed, transmitted, used, modified, built upon, or otherwise exploited by anyone for any purpose, commercial or non-commercial, and in any way, including by methods that have not yet been invented or conceived.


(I took this from http://creativecommons.org/licenses/publicdomain/)

Moreover from the zip I had to remove the NC maps and the ones with license uncertain.


Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 02 Feb 2012, 00:22 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
Quote:
Moreover from the zip I had to remove the NC maps and the ones with license uncertain.
Is my map "uncertain"? It is the pacman maze.
I did not put a license thing into the file but here: (scroll down) viewtopic.php?f=43&t=24611 it says that it is FOSS.
(but I have no idea about licenses really, what license would you need?)


Top
 Online Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 02 Feb 2012, 04:24 
User avatar

Joined: 23 Oct 2004, 00:43
@knorke, it'd probably be best to officially pick a license for it - go to http://creativecommons.org/ and pick one... althuogh I don't know if the map files have any place to mark your license.

The big thing is that distros can't have the "noncommercial" thing on their files since distros want to be able to sell their install disks or provide professional support and that could be seen as "commercial" use of the stuff in their packaging system.

That said, the debian guy up above might not touch Pacman anyways because of its relationship with a trademarked product... but iirc they package one of those Tron games, so whatever.


Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 02 Feb 2012, 19:33 
Kernel Panic Co-Developer
User avatar

Joined: 16 Nov 2004, 13:08
Which maps did you have to remove exactly?

Also, can you include something like a batch or a shorcut, labelled "Kernel Panic Single Player" to run Spring with the attached file as argument?


Attachments:
kpmenu2.txt [7.66 KiB]
Downloaded 112 times
Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 02 Feb 2012, 19:46 
User avatar

Joined: 30 Nov 2008, 04:31
Location: the flow
Quote:
Much better Shoot'n'Run gadget: less network use, less stutter, more responsivness, ...

So very marked for assimilation :P


Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 02 Feb 2012, 20:29 
User avatar

Joined: 19 Aug 2009, 15:09
Location: Sol 3
Don't know if it's an issue, but I changed the licence of my maps, just to be sure. I don't remember why I made them NonCommercial before, and I don't really know how to argue for it now.
(I guess the KP comes with a licence.txt saying my maps are NonCommercial. If so, I'm saying its ok to disregard that.)
I hope that helped...


Top
 Offline Profile  
 
PostPosted: 13 Mar 2012, 00:08 

Joined: 13 Mar 2012, 00:04
Hi, I am trying to run KP 4.4 with Spring 87 on Linux (spring from Ubuntu PPA).

The game loads but just does not start after the 3,2,1 countdown. It just says something like "AI taking over..." and the units/bases just don't spawn.


Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 13 Mar 2012, 18:54 
Kernel Panic Co-Developer
User avatar

Joined: 16 Nov 2004, 13:08
Thanks for the bug report.

- A change in the engine resulted in WeaponDefs entries somehow losing their pairs method.
- This broke one of KP gadget (specialattack.lua line 35)
- This failure somehow brought down every following gadget.
- The gadget responsible for spawning start units is thus absent.
- Nobody gets any start unit!

I will probably have to release a version 4.5 of Kernel Panic. Might take me between a week and a month.

Meanwhile, I hope you can downgrade your Spring to version 85.0.


Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 14 Mar 2012, 14:00 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
Quote:
WeaponDefs entries somehow losing their pairs method.
not sure if is that. When you add an echo:

Code:
for id,weaponDef in pairs(WeaponDefs) do
   for name,param in weaponDef:pairs() do
      Spring.Echo (name)
   end
end
it goes like:
Code:
[f=0000000] accuracy
[f=0000000] false
[f=0000000] Error in Initialize(): ERROR_TYPE in WeaponDefs __index
So it loops a bit stuff before failing.
Maybe the WeaponDefs table is somehow corrupted?


Top
 Online Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 14 Mar 2012, 17:40 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
https://github.com/spring/spring/commit ... 5f76782346

accidental oversight it looks like


Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 14 Mar 2012, 20:57 
Kernel Panic Co-Developer
User avatar

Joined: 16 Nov 2004, 13:08
FLOZi, your link is inconsistent with your words.

We have had some other threads on Spring forum about how .areaOfEffect, .maxVelocity, .onlyTargetCategories fields have been removed from weapon definitions, and even explanations from developpers on the why.

The dev also decided to make errors caused by trying to use those missing fields less serious, which is what your link is about. It's somehow related to the issue I mentioned above as the error would cascade less.

But we still don't know if the removal of :pairs was intentional or "accidental oversight".

I'm also curious to know why was :pairs added in the first place, why it was removed, ...


Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 14 Mar 2012, 21:34 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
Removal of fields was intended.

Error on :pairs() is clearly (mind-bogglingly obviously) unintended and has therefore now been rectified (see link).


Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 14 Mar 2012, 21:39 
Kernel Panic Co-Developer
User avatar

Joined: 16 Nov 2004, 13:08
Then I just fail at seeing 'pairs' in your link.

knorke says 'pairs' loops a couple times before the error, which would indicate pairs was not removed, just made wonky.


Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 14 Mar 2012, 21:57 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
zwzsg wrote:
Then I just fail at seeing 'pairs' in your link.

knorke says 'pairs' loops a couple times before the error, which would indicate pairs was not removed, just made wonky.


It fails specifically on those fields which were removed, my interpretation of the commit message is that those fields can now be safely iterated over again.


Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 15 Mar 2012, 20:11 

Joined: 13 Mar 2012, 00:04
FLOZi wrote:
https://github.com/spring/spring/commit/a65d820f292a63c9bf7f6a5393005f5f76782346
accidental oversight it looks like

Does it mean latest KP from git repo will work?


Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 15 Mar 2012, 22:26 
Kernel Panic Co-Developer
User avatar

Joined: 16 Nov 2004, 13:08
Doubtful. I'll try to update this weekend. This fix is small, but I'm afraid there's more.


Top
 Offline Profile  
 
PostPosted: 15 Mar 2012, 23:21 

Joined: 13 Mar 2012, 00:04
Just built Spring from git sources, version 87.0.1-54-g5df3e5b.
Now KP gets stuck at "Choose Start Position", no matter what the configuration is.

Will try rolling spring back to 85...


Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 26 Mar 2012, 23:00 
Kernel Panic Co-Developer
User avatar

Joined: 16 Nov 2004, 13:08
The bad new is that I haven't released a 4.5 yet.

The good new is that the missing weapon def field crash was made less severe in Spring 88, so Kernel Panic 4.4 works again in Spring 88.


Top
 Offline Profile  
 
 Post subject: Re: Kernel Panic 4.4
PostPosted: 01 Apr 2012, 08:03 
Community Lead
User avatar

Joined: 10 Apr 2006, 04:05
Location: Finland, 1944
Anything else that might make it into 4.5?


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 39 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.