Topic: Download all netgroups at once to local

Hi,
I just want to ask, if there is a way to download the groups, you made online to a local server at once.
And, besides that, delete some useless groups.


Greetings,

Re: Download all netgroups at once to local

u can netload in local.

deleting groups is not possible

http://thesmot.themusicturners.nl/smotby540.png

Re: Download all netgroups at once to local

92Matty92 wrote:

Hi,
I just want to ask, if there is a way to download the groups, you made online to a local server at once.
And, besides that, delete some useless groups.


Greetings,

Yes just like battleboy said but there is a problem.  If u are new to sandbox then you will probably have to change the ip.  There is a forum somewhere on the site about this.  After that is done you can do 2 things online.  @netsavegroup -name of group- (this save the group you are holding) and @netloadgroup -name of group- (loads one of the groups u made).  I recommend using the group all addon.

PunBB bbcode test

Re: Download all netgroups at once to local

SecretAaron wrote:
92Matty92 wrote:

Hi,
I just want to ask, if there is a way to download the groups, you made online to a local server at once.
And, besides that, delete some useless groups.


Greetings,

Yes just like battleboy said but there is a problem.  If u are new to sandbox then you will probably have to change the ip.  There is a forum somewhere on the site about this.  After that is done you can do 2 things online.  @netsavegroup -name of group- (this save the group you are holding) and @netloadgroup -name of group- (loads one of the groups u made).  I recommend using the group all addon.

Yes, thanks, I found your Tutorial, but the Ip you posted in there is already in the sbxnetwork.py and netloading still doesn't work in a local server.

Re: Download all netgroups at once to local

there is another ip in the sbxnetwork.py

http://thesmot.themusicturners.nl/smotby540.png

Re: Download all netgroups at once to local

battleboy007 wrote:

there is another ip in the sbxnetwork.py

There is only that Ip:

#******************************************************************************
# Name: Sandbox Network Functions
# Authors: Elton "Elxx" Muuga (http://elxx.net)
#          Missleboy
# Version: 1.0
# Website: http://sandboxmod.com
#******************************************************************************

import socket

host = "66.96.233.135"
path = "/~sandbox/network/server2.0/"

def http_post(host, port = 80, document = "/",data="", timeout = 5):
	sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
	sock.settimeout(timeout)
	try: sock.connect((host, port))
	except: return false
	sock.sendall("POST "+str(document)+" HTTP/1.0\r\nContent-Type: application/x-www-form-urlencoded\r\nContent-Length: "+str(len(data))+"\r\n\r\n"+str(data))
	data = ""
	while 1:
		buf = sock.recv(1024)
		if not buf: break
		data += buf
	sock.close()
	data = data.split("\r\n\r\n")
	return data[len(data)-1]

def saveGroup(name, pid, groupName, data):
	name = name.replace("&","")
	pid = int(pid)
	groupName = groupName.replace("&","")
	data = data.replace("&","")
	return http_post(host, 80, path+"sbx.saveGroup.php","name="+str(name)+"&pid="+str(pid)+"&groupName="+str(groupName)+"&data="+str(data))

def loadGroup(name, pid, groupName):
	name = name.replace("&","")
	pid = int(pid)
	groupName = groupName.replace("&","")
	return http_post(host, 80, path+"sbx.loadGroup.php","name="+str(name)+"&pid="+str(pid)+"&groupName="+str(groupName))

Re: Download all netgroups at once to local

and now find that other ip on the forum and replace that one for the informer one.

92Matty92 wrote:
#******************************************************************************
# Name: Sandbox Network Functions
# Authors: Elton "Elxx" Muuga (http://elxx.net)
#          Missleboy
# Version: 1.0
# Website: http://sandboxmod.com
#******************************************************************************

import socket

host = "66.96.233.135"(here)
path = "/~sandbox/network/server2.0/"

def http_post(host, port = 80, document = "/",data="", timeout = 5):
	sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
	sock.settimeout(timeout)
	try: sock.connect((host, port))
	except: return false
	sock.sendall("POST "+str(document)+" HTTP/1.0
Content-Type: application/x-www-form-urlencoded
Content-Length: "+str(len(data))+"

"+str(data))
	data = ""
	while 1:
		buf = sock.recv(1024)
		if not buf: break
		data += buf
	sock.close()
	data = data.split("

")
	return data[len(data)-1]

def saveGroup(name, pid, groupName, data):
	name = name.replace("&","")
	pid = int(pid)
	groupName = groupName.replace("&","")
	data = data.replace("&","")
	return http_post(host, 80, path+"sbx.saveGroup.php","name="+str(name)+"&pid="+str(pid)+"&groupName="+str(groupName)+"&data="+str(data))

def loadGroup(name, pid, groupName):
	name = name.replace("&","")
	pid = int(pid)
	groupName = groupName.replace("&","")
	return http_post(host, 80, path+"sbx.loadGroup.php","name="+str(name)+"&pid="+str(pid)+"&groupName="+str(groupName))
http://thesmot.themusicturners.nl/smotby540.png

Re: Download all netgroups at once to local

Start
Run/Search bar
cmd
ping sandboxmod.com
????
Profit

Bullace: *******
Freeze-18: i read that as triggers
Bullace: lol

Re: Download all netgroups at once to local

Bullace wrote:

Start
Run/Search bar
cmd
ping sandboxmod.com
????
Profit

Ok, thanks, but you just could say, the creationssavingserver is the sandboxmod.com server smile.

And a last question, how do I disable the timelimit for loading, duplicating groups etc.?

Re: Download all netgroups at once to local

if ur admin u can.

edit: in local: C:\Program Files\EA GAMES\Battlefield 2\mods\sandbox\settings\sandbox\game.ini

Last edited by battleboy007 (2010-03-16 21:17:00)

http://thesmot.themusicturners.nl/smotby540.png