Die gleiche FH habe ich 6 Jahre später auch besucht , allerdings nicht in Informatik sondern Nachrichtentechnik. Werd dann auch mir mal c-script dann mal anschauen, da sonst die konvertierung der Examples recht umständlich ist.
Re: [GSTNet] Send to clientid implemented
[Re: Slin]
#133878 08/03/0711:4108/03/0711:41
hi slin, thank you for beta testing empty string crash is fixed empty packets are not sent anymore ent_remove: there was an error with freeing removed entities: still fixing/testing how much entities do you need ?!
Andreas GSTools - Home of GSTScript 0.9.8: lua scripting for A6/7/8 GSTNet 0.7.9.20: network plugin for A6/7/8 GSTsqlite 1.3.7: sql database plugin for A6/7/8 3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files
Re: [GSTNet] Send to clientid implemented
[Re: nfs42]
#133879 08/03/0711:5808/03/0711:58
1000 Entities should usually be enough if they can be removed. Though it would be best if I could set the number myself from within the script. On the other side, what are the disadvantages if you set the number very high?
If is is possible, you could insert a starting parameter, that manages the memeory allocation. I for example dont need entities to be managed, and only need Strings, var, and arrays for the communication.
so a parameter: maximum_managed_entities(x); would be good
x GSTNet_ent_remove only on server now entities pool is available again
This works only, when the GSTNet_ent_create function was called on the server. this means that weather both can only be called on the server or you have to look into this some more