Try my new website:
www.urcho.com
- the new SIMPLE social network
Sign up
|
284
members |
114
snippets
Search for:
ALL
POPULAR
File Controls
Multiplayer Code
2D Effects
3D Effects
Oldskool demos
Basic Functions
Maths/Physics
Sound
Tutorials
Misc
Username:
Password:
Sign up
Random ip generator by Nebula
[
back
]
Author:
Archive
| Viewed:
630
times | Language:
BlitzBasic 3D
| Category:
Multiplayer Code
; ; Ip generator () ; Spider ping list builder ; Made for a server simulation game ; Cromdesign DebugLog ip_generator(-1,0,0,0) DebugLog ip_generator(-1,Rand(0,999),7,0) ; Function ip_generator$(a,b,c,d) ; -1 = random Select a Case -1 a = Rand(0,999) End Select Select b Case -1 b = Rand(0,999) End Select Select c Case -1 c = Rand(0,999) End Select Select d Case -1 d = Rand(0,999) End Select out$ = a+"."+b+"."+c+"."+d Return out$ End Function
Author Comments:
Useful function for making ping lists.
Login or
create an account
to comment on this snippet