[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
Anisoptera Games - View topic - RWDK: Reassembly Web Development Kit (Updated 2017/01/07)
View unanswered posts | View active topics It is currently Sun Oct 25, 2020 9:05 am



Reply to topic  [ 99 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 10  Next
RWDK: Reassembly Web Development Kit (Updated 2017/01/07) 
Author Message

Joined: Thu Jan 14, 2016 2:21 pm
Posts: 94
Reply with quote
That's because lua comments are meant to be "-- your comment here", not "# your comment here".

Seems the game allows others... I'll fix it.

Edit: That should do it. I think the comment matching in general might need to be better because of potential cases of # being in a block description, but I'm not going to get into all that now. Regex is already black magic.


Sat Jan 16, 2016 1:01 pm
Profile
User avatar

Joined: Sat Jul 12, 2014 3:36 pm
Posts: 326
Reply with quote


Attachments:
blocks.lua [6.95 KiB]
Downloaded 251 times
Sat Jan 16, 2016 2:47 pm
Profile

Joined: Thu Jan 14, 2016 2:21 pm
Posts: 94
Reply with quote
That's because your cannonboost doesn't have decimal places on its numbers, so it's parsing as the start of a block instead of a number pair. I'll try to exclude that situation from the ident parsing. For now, just add .0 after those boost values. They're meant to be doubles instead of ints anyway, according to the docs.

Cool looking blocks btw, but you don't have anything to attach the bursting plate to?

(Thanks for all these reports though, guys. The parser could handle just about anything I could throw at it, but as expected, the wider world has more to throw :P)

Edit: It parses now without the decimal points.


Sat Jan 16, 2016 3:00 pm
Profile

Joined: Thu Mar 05, 2015 12:10 pm
Posts: 239
Reply with quote
Also you forgot some other less-known variables.

Example variable you missed:
There's a variable called "armor". It's an additional variable for damage calculation; also, only non-explosive projectiles obey it, and can be applied to shields.


Sat Jan 16, 2016 3:23 pm
Profile

Joined: Thu Jan 14, 2016 2:21 pm
Posts: 94
Reply with quote
Deliberately omitted because after some testing it didn't seem to have an effect which I could measure. Both super high and super low values seemed to have no effect on survivability, so I assumed it's not currently used in the calculations.

If you have some numbers which suggest otherwise, I could put it back in.


Sat Jan 16, 2016 3:32 pm
Profile
User avatar

Joined: Sat Jul 12, 2014 3:36 pm
Posts: 326
Reply with quote


Sat Jan 16, 2016 4:05 pm
Profile

Joined: Thu Jan 14, 2016 2:21 pm
Posts: 94
Reply with quote
It should be usable as a cannon - but the shape itself has no normal connector hardpoints. It can only be mounted onto a gun hardpoint, and only CANNON, CANNON2 and RECT_CANNON have those as well as normal connectors, and CANNON2's one is obstructed. If you had a base mounting block which was either CANNON or RECT_CANNON, you could attach those to it. Also they'd be able to stack up, but with how you currently have it the booster would only affect the one it's directly attached to.

(GATC uses the same principle with one of the weapons for the Praetor AI)

Edit: that reminds me, I should probably include a blurb about what each connector type can connect to on the shape selector...


Last edited by TTFTCUTS on Sat Jan 16, 2016 4:44 pm, edited 1 time in total.



Sat Jan 16, 2016 4:11 pm
Profile

Joined: Thu Mar 05, 2015 12:10 pm
Posts: 239
Reply with quote


Sat Jan 16, 2016 4:13 pm
Profile

Joined: Thu Jan 14, 2016 2:21 pm
Posts: 94
Reply with quote
Sounds pretty unfinished/abandoned as a stat then, so I think I'll leave it out due to not being fully functional. I'd rather sacrifice the niche utility of having it for the simplicity of not having a wildly inconsistent field which could throw off less savvy users.


Sat Jan 16, 2016 4:15 pm
Profile

Joined: Thu Mar 05, 2015 12:10 pm
Posts: 239
Reply with quote
Yay; The saving worked for me! :mrgreen:


Sat Jan 16, 2016 6:56 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 99 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 10  Next

Who is online

Users browsing this forum: No registered users and 2 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
Designed by ST Software