Updated Development

Ask questions and share info about GunGame 5

Updated Development

Postby XE_ManUp » Tue Aug 02, 2011 7:09 am

Hello All,

Satoon as well as myself have been working VERY hard on the core of GunGame. What does this have to do with you? Well, we have basically take a bunch of the "core" code and revamped it to work faster and better under pressure. Here's some statistics below. The values on the LEFT are from the OLD code. The values on the RIGHT are from the NEW code. The min and max are the smallest amount of time to the largest amount of time it took to run the code. We are proud of the results.

PLAYERS:
=============================
Player(2)
Min: 0.002787 / 0.0022957
Max: 0.006143 / 0.0037356

Player(2).level = 1
Min: 0.012975 / 0.012116
Max: 0.015965 / 0.014013

CONFIGS
=============================
Min: 1.721608 / 0.18793
Max: 6.703220 / 1.46863


The Players stuff is every time a Player instance is called. So every time you get a gun, level, etc. the above code is called. I managed to get the values reduced by a little bit while adding some very wonderful error-checking features which helps to reduce load on included/custom addon code.

The Configs are when GunGame51 is FIRST loaded, how long it takes to load and parse configs as well as set up their default values and create the console variables. Satoon did a STELLAR job with this.

We will be releasing a new version here shortly. Thanks to the beta testers daggerclan and TNARocks for helping with testing.
XE_ManUp

Site Admin
Site Admin
 
Posts: 662
Joined: Sat Sep 06, 2008 3:36 am

Postby daggerclan » Tue Aug 02, 2011 6:54 pm

very cool indeed.
daggerclan

Corporal
Corporal
User avatar
 
Posts: 250
Joined: Mon Jul 13, 2009 7:54 pm
Location: United States

Postby daggerclan » Tue Aug 02, 2011 7:13 pm

Just one little hiccup.

*******************************************************************************
*                                                                             *
*                          GUNGAME v5.1 ERROR LOGGING                         *
*                          HTTP://FORUMS.GUNGAME.NET/                         *
*                                                                             *
*       GG VERSION: 5.1.553                           IP: 192.168.1.101       *
*      SPE VERSION: 1.5.0f r85                      PORT: 27015               *
*         PLATFORM: NT                              DATE: 08-02-2011          *
*       ES VERSION: 2.1.1.370            ES CORE VERSION: 2.1.1.336           *
*       MM VERSION: 1.8.7V                    SM VERSION: 0                   *
*     MANI VERSION: 1.2.22.6 VSP             EST VERSION: 0                   *
*                                                                             *
*******************************************************************************


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     LAST EVENT: [08/02/2011 @ 12:54:57]          TOTAL OCCURENCES: [0001]    
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Traceback (most recent call last):
  File "../eventscripts/es.py", line 279, in tick
    x()
  File "../eventscripts/_libs/python/gamethread.py", line 178, in tick
    _executenode(task)
  File "../eventscripts/_libs/python/gamethread.py", line 155, in _executenode
    function(*a, **kw)
  File "../eventscripts/gungame51/core/addons/__init__.py", line 744, in load
    AddonManager().load(*a, **kw)
  File "../eventscripts/gungame51/core/addons/__init__.py", line 286, in load
    addon = self.get_addon_by_name(name)
  File "../eventscripts/gungame51/core/addons/__init__.py", line 548, in get_addon_by_name
    mod = __import__(modulePath, globals(), locals(), [''])
  File "../eventscripts/gungame51/scripts/included/gg_multi_level/gg_multi_level.py", line 23, in <module>
    from gungame51.core.players.player import UseridError

ImportError: No module named player


 
daggerclan

Corporal
Corporal
User avatar
 
Posts: 250
Joined: Mon Jul 13, 2009 7:54 pm
Location: United States

Postby satoon101 » Tue Aug 02, 2011 7:32 pm

Thank you for reporting. Fixed in version 555.

As XE stated, we are getting very close to releasing a version. We could not have done it without the error reporting of daggerclan and TNARocks. You have both been a tremendous help.

We will continue to look for ways to improve the code to make it more efficient and run faster, but we have definitely made some big strides already with the newest versions.

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm



Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests