(Angel/Java)Script dump

User avatar
Korban3
Posts: 4146
Joined: Tue May 31, 2011 9:14 pm
Location: 42nd St E, Hell

Re: (Angel/Java)Script dump

Post by Korban3 » Thu Jul 12, 2012 8:06 pm

That is a crime! We shall crusade for the holy land.
They will love thee and despair!

User avatar
last
Posts: 2154
Joined: Fri Jan 07, 2011 7:02 am
Location: Estonia

Re: (Angel/Java)Script dump

Post by last » Fri Jul 13, 2012 1:33 pm

Actually sometimes i come here and look for what's new and what's removed.

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: (Angel/Java)Script dump

Post by learn_more » Mon Jul 16, 2012 12:35 pm

Code: Select all

> There are no javascript files changed.
> There are no angelscript files changed.
> There are no Angelscript interface changes from version a185 to a186.

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: (Angel/Java)Script dump

Post by learn_more » Mon Jul 23, 2012 8:02 pm

Code: Select all

 * OG Script Dumper v3.0 by learn_more
 * Generated: 24-Jul-2012 02:59:34
 * Overgrowth version a187
 * If you use this (dumper or output), please credit me (learn_more)


> See the directory 'script' for the preloaded data in the VM's.
  (Please note that the 'shared' file is not a VM, it's just the objects that always get preloaded).
> See 'a187_as_graph.png' for the AS includes.
> There are no javascript files changed.
> See the file a187_as_filechanges.txt for the changed angelscript files.
> The VM 'playercontrol' and the VM 'enemycontrol' have the same data preloaded, only included the VM 'playercontrol'.
> See 'a187_classes.xml' for all the preloaded objects / functions.
> See 'a187_changes.txt' for the Angelscript changes from a186 to a187.
> See the directory 'js' for the javascript available in the different UI files.

Code: Select all

Angelscript changes from a186 to a187.

VM playercontrol {
  Level {
    - Behaviour: asBEHAVE_ADDREF
  };
  ScriptParams {
    - Behaviour: asBEHAVE_ADDREF
  };
};
VM level {
  + Script file: ui_effects.as
  Level {
    - Behaviour: asBEHAVE_ADDREF
  };
  SavedLevel {
    - Behaviour: asBEHAVE_ADDREF
  };
};
VM shared {
  + GlobalFunction: int GetNumHotspots()
  + GlobalFunction: Hotspot@ ReadHotspot(int)
  + GlobalProperty: const int _collectable
  MovementObject {
    - Behaviour: asBEHAVE_ADDREF
  };
  ItemObject {
    - Behaviour: asBEHAVE_ADDREF
  };
  EnvObject {
    - Behaviour: asBEHAVE_ADDREF
  };
  + Object: Hotspot
};
changes look nice :)
also fixed a nasty bug in the dumper.
Attachments
a187.zip
(77.77 KiB) Downloaded 156 times

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: (Angel/Java)Script dump

Post by learn_more » Mon Aug 20, 2012 12:58 pm

Code: Select all

Angelscript changes from a187 to a190.

VM playercontrol {
  + GlobalProperty: int _at_grip
  + GlobalProperty: int _at_sheathe
  - Object: ScriptParams
};
VM shared {
  MovementObject {
    + Function: void AttachItemToSlot(int, int, bool)
    - Function: void AttachItem(int, bool)
  };
  ItemObject {
    + Function: int HeldByWhom()
    + Function: void SetLinearVelocity(vec3)
    + Function: float GetMass()
    + Function: bool HasSheatheAttachment()
    + Function: int GetNumHands()
    + Function: int GetType()
    + Function: vec3 GetPoint(string)
    + Function: int GetNumLines()
    + Function: vec3 GetLineStart(int)
    + Function: vec3 GetLineEnd(int)
    + Function: string GetLineMaterial(int)
    + Function: const string &GetSoundModifier()
    + Function: float GetRangeExtender()
    + Function: float GetRangeMultiplier()
    + Function: ScriptParams@ GetScriptParams()
    - Function: vec3 GetPoint(string)
    - Function: int GetNumLines()
    - Function: vec3 GetLineStart(int)
    - Function: vec3 GetLineEnd(int)
    - Function: string GetLineMaterial(int)
    - Function: float GetRangeExtender()
    - Function: float GetRangeMultiplier()
    - Function: float GetMass()
    - Function: void SetVelocity(vec3)
    - Function: bool HasSheatheAttachment()
    - Function: int GetNumHands()
    - Function: int GetType()
  };
  + Object: ScriptParams
};
some stuff is added aswell as removed, so i think i introduced a bug somewhere in the last changes :lol:
altough i don't recall changing anything in that part, so maybe its a bug that existed longer but hasnt shown its face untill now?
ill have a look at it later on.
Attachments
a190.zip
(78.5 KiB) Downloaded 161 times

User avatar
Korban3
Posts: 4146
Joined: Tue May 31, 2011 9:14 pm
Location: 42nd St E, Hell

Re: (Angel/Java)Script dump

Post by Korban3 » Fri Aug 31, 2012 1:00 am

\:D/

User avatar
Black_Stormy
Posts: 161
Joined: Sat Mar 12, 2011 2:42 am

Re: (Angel/Java)Script dump

Post by Black_Stormy » Mon Oct 08, 2012 11:01 pm

Anton just linked me this. It's extremely awesome. Does it list all available functions though? The js lists seem very short. Surely there's other stuff we can play with?

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: (Angel/Java)Script dump

Post by learn_more » Mon Oct 29, 2012 6:01 pm

Black_Stormy wrote:Anton just linked me this. It's extremely awesome. Does it list all available functions though? The js lists seem very short. Surely there's other stuff we can play with?
the JS stuff is added on demand, and i did not yet found a definitive way of listing everything available at once, so it's basically just the stuff that gets loaded when i play trough the game.
(that's also why there is no list of JS changes still)

Code: Select all

Angelscript changes from a190 to a193.

VM playercontrol {
  + GlobalFunction: float GetAnimationEventTime( string &in, string &in )
};
VM shared {
  MovementObject {
    + Function: void AddToAttackHistory(const string &in)
    + Function: float CheckAttackHistory(const string &in)
  };
  ScriptParams {
    + Function: void AddIntSlider (string, int, string)
    + Function: void AddFloatSlider (string, float, string)
    + Function: void AddIntCheckbox (string, bool)
  };
};
Attachments
a193.zip
(73.58 KiB) Downloaded 151 times

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: (Angel/Java)Script dump

Post by learn_more » Sat Dec 01, 2012 8:26 pm

as requested by hg341

Code: Select all

 * OG Script Dumper v3.0 by learn_more
 * Generated: 02-Dec-2012 02:17:01
 * Overgrowth version a194
 * If you use this (dumper or output), please credit me (learn_more)


> See the directory 'script' for the preloaded data in the VM's.
  (Please note that the 'shared' file is not a VM, it's just the objects that always get preloaded).
> See 'a194_as_graph.png' for the AS includes.
> There are no javascript files changed.
> There are no angelscript files changed.
> The VM 'playercontrol' and the VM 'enemycontrol' have the same data preloaded, only included the VM 'playercontrol'.
> See 'a194_classes.xml' for all the preloaded objects / functions.
> See 'a194_changes.txt' for the Angelscript changes from a193 to a194.
> See the directory 'js' for the javascript available in the different UI files.
Attachments
a194.zip
(74.16 KiB) Downloaded 158 times

DumbLemon
Posts: 72
Joined: Sat Dec 29, 2012 7:59 am

Re: (Angel/Java)Script dump

Post by DumbLemon » Mon Jan 21, 2013 4:55 pm

Wheres A 195?

User avatar
Anton
pretty cool guy
Posts: 3328
Joined: Fri Oct 17, 2008 10:16 pm
Location: Los Angeles
Contact:

Re: (Angel/Java)Script dump

Post by Anton » Mon Jan 21, 2013 5:00 pm

DumbLemon wrote:Wheres A 195?
I'm sure all the updates for the build will come out during the week.

Hg341
Posts: 94
Joined: Mon Oct 08, 2012 9:35 pm

Re: (Angel/Java)Script dump

Post by Hg341 » Mon Jan 21, 2013 6:24 pm

DumbLemon wrote:Wheres A 195?
no point doing a dump for the first few days after the update as they might do some hotfixs(also he might not know its happened yet)

User avatar
last
Posts: 2154
Joined: Fri Jan 07, 2011 7:02 am
Location: Estonia

Re: (Angel/Java)Script dump

Post by last » Tue Jan 22, 2013 3:00 pm

Hg341 wrote:
DumbLemon wrote:Wheres A 195?
no point doing a dump for the first few days after the update as they might do some hotfixs(also he might not know its happened yet)
Actually i don't think that there is something new because the only changed file where level.as. So you can safely use alpha 194 dump.

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: (Angel/Java)Script dump

Post by learn_more » Fri Jan 25, 2013 5:05 pm

i had to fix te dumper up a bit (like, have the game not find the '.as.bytecode' files ever :lol: )
and some different conditions to initiate the dump, maybe it's time to re-write it because it's getting hacked together more and more...

some functions changed but what is changed is not visible in the output (it are operators, and you won't notice the difference, but the calling convention changed)

ps: i like the not launching a popup on the forum anymore for an attachment.

Code: Select all

 * OG Script Dumper v3.5 by learn_more
 * Generated: 25-Jan-2013 22:59:00
 * Overgrowth version a195
 * If you use this (dumper or output), please credit me (learn_more)


> See the directory 'script' for the preloaded data in the VM's.
  (Please note that the 'shared' file is not a VM, it's just the objects that always get preloaded).
> See 'a195_as_graph.png' for the AS includes.
> There are no javascript files changed.
> See the file a195_as_filechanges.txt for the changed angelscript files.
> The VM 'playercontrol' and the VM 'enemycontrol' have the same data preloaded, only included the VM 'playercontrol'.
> See 'a195_classes.xml' for all the preloaded objects / functions.
> See 'a195_changes.txt' for the Angelscript changes from a194 to a195.
> See the directory 'js' for the javascript available in the different UI files.

ps: statistics from the project:

Code: Select all

Files: 17
Total Lines: 9658
Code Lines: 7450
Commented Lines: 1054
Empty lines: 1154
Code Ratio: 77%
Attachments
a195.zip
(75.79 KiB) Downloaded 165 times

User avatar
learn_more
Posts: 158
Joined: Tue Mar 15, 2011 6:32 am

Re: (Angel/Java)Script dump

Post by learn_more » Tue Apr 30, 2013 2:55 pm

it's been a while :D

Code: Select all

 * OG Script Dumper v3.9 by learn_more
 * Generated: 30-Apr-2013 21:21:39
 * Overgrowth version a198
 * If you use this (dumper or output), please credit me (learn_more)


> See the directory 'script' for the preloaded data in the VM's.
  (Please note that the 'shared' file is not a VM, it's just the objects that always get preloaded).
> See 'a198_as_graph.png' for the AS includes.
> There are no javascript files changed.
> See the file a198_as_filechanges.txt for the changed angelscript files.
>The VM 'enemycontrol' and the VM 'playercontrol' have the same data preloaded, only included the VM 'enemycontrol'.
> See 'a198_classes.xml' for all the preloaded objects / functions.
> See 'a198_changes.txt' for the Angelscript changes from a195 to a198.
> See the directory 'js' for the javascript available in the different UI files.
changes are quite interesting, we seem to have gained an extra VM :)
Attachments
a198.zip
(135.45 KiB) Downloaded 177 times

Post Reply