Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Starfall Functions don't work anymore #437

Open
BPRJon opened this issue Nov 12, 2024 · 1 comment
Open

[BUG] Starfall Functions don't work anymore #437

BPRJon opened this issue Nov 12, 2024 · 1 comment
Labels
addon conflict Related to conflicts with other addons bug Something isn't working serverside

Comments

@BPRJon
Copy link

BPRJon commented Nov 12, 2024

When using any of the acf.create[thing] functions wiremod throws an error, but an ACF entity is still created but does not follow the conventional 'rules' of entities spawned by e2/starfall

Branch and Version

Server - Git-master-5701272
Client - Git-master-529c2c6

Console Error Logs (Optional)

addons/wire/lua/wire/server/wirelib.lua:32: Regex is too complex! 2 ext search length too long (500 max)
stack traceback:
	addons/wire/lua/wire/server/wirelib.lua:32: in function 'ParsePortName'
	addons/wire/lua/wire/server/wirelib.lua:129: in function 'CreateInputs'
	addons/acf3/lua/acf/core/utilities/wire_i_o_sv/wire_io.lua:28: in function 'SetupInputs'
	addons/acf3/lua/entities/acf_gun/init.lua:164: in function 'UpdateWeapon'
	addons/acf3/lua/entities/acf_gun/init.lua:256: in function 'Spawn'
	addons/acf3/lua/acf/core/classes/entities/registration.lua:136: in function 'Spawn'
	starfall/libs_sh/acffunctions.lua:709: in function 'createWeapon'
	...
	addons/starfallex/lua/weapons/gmod_tool/stools/starfall_processor.lua:120: in function 'callback'
	addons/starfallex/lua/starfall/transfer.lua:190: in function 'callback'
	addons/starfallex/lua/starfall/transfer.lua:23: in function 'setup'
	addons/starfallex/lua/starfall/transfer.lua:37: in function <addons/starfallex/lua/starfall/transfer.lua:33>

How to Reproduce (Optional)

Place a Starfall chip with the following code:

--@server
acf.createWeapon(chip():getPos(),Angle(),{ClassID="HW",Caliber=75,Destiny="Weapons",ID="75mmHW"})
@BPRJon BPRJon added the bug Something isn't working label Nov 12, 2024
@thecraftianman thecraftianman added addon conflict Related to conflicts with other addons serverside labels Nov 13, 2024
@thecraftianman
Copy link
Member

After trying to look into this problem, it seems like the issue is because it's getting hung up on descriptions that are too long, but that length should be getting stripped out by the pattern searching functions present in Wiremod and Starfall (separate from each other). This is making me wonder, though...have these functions ever worked? lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addon conflict Related to conflicts with other addons bug Something isn't working serverside
Projects
None yet
Development

No branches or pull requests

2 participants