• Better networking
    9 replies, posted
Greetings, i am not gana write a wall of text becouse your eyes wil mainly bleed cus of the grammar, so just straight to the point. This is a lua scirpt i made a while ago to filter the nw resend out, it only wil send when it aculy changed now, also it ads a nice alternative NW system, that doenst dissconect you on join if theres too much of them. [url=http://www.filefront.com/16812807/networking.lua]SV[/url] [url=http://www.filefront.com/16812825/networking.lua]CL[/url] Basic useage for alternative NW system: [lua] -- type(string,number,ect), name of var, value of var, global or not) (if not global you can add extra arg for the player you want to send to) Brom_Lib.Networking.SendSafe("string", "Wut_in_the_butt", "OVER 9000", true) [/lua] So.... alternative that doenst spamz on join, and a fix for the NW to only send on change... Hope some one can use this.
Thanks. PS you might want to change (if not global you can add extra arg for the player you want to send to) to (if not global you must add an extra arg for the player you want to send to) Someone is one word. Spam doesn't have a z on the end. Gana -> going to Because is with an a. Because not cus, that means 'to swear' actually not aculy adds not ads usage not useage One more thing. Why are both files called networking? You might want to change it to something like sv_networking and cl_networking. Its easier to distinguish that way.
[QUOTE=bobthe2lol;22759289]Spam doesn't have a z on the end.[/QUOTE] Noshit sherlock [QUOTE=bobthe2lol;22759289]One more thing. Why are both files called networking? You might want to change it to something like sv_networking and cl_networking. Its easier to distinguish that way.[/QUOTE] I have a cl folder and a sv folder where i just put shit in, thats why there called brom_lib:v:
No shit is two words.
Troll thread?
[QUOTE=DiscoBiscut;22762075]Troll thread?[/QUOTE] Nop, bobthe2lol is trolling me.
Hehe
Why do we need to use "Brom_Lib.Networking" and aren't the default functions overridden? That would make it work with all addons right away.
[QUOTE=Overv;22771890]Why do we need to use "Brom_Lib.Networking" and aren't the default functions overridden? That would make it work with all addons right away.[/QUOTE] Read better, you wil notice that all the way down it overwrites the default onces.
[QUOTE=bromvlieg;22778367]Read better, you wil notice that all the way down it overwrites the default onces.[/QUOTE] That info should be in the OP. No-one is going to scan your code for usage info.
Sorry, you need to Log In to post a reply to this thread.