[old] Script Requests Here - For Reference

Website Scripts for your Helbreath Server.
WickedCitizen
noob
Posts: 25
Joined: Wed Jul 07, 2004 5:33 pm

Post by WickedCitizen »

wannabee wrote:
WickedCitizen wrote: what about a character name editor?

NOTE: it would also have to move character file to different ascii folder

Maybe require a admin password for this such as character editor?
i've been away for a while :D...

this idea is a good one, but how many people whould use it?

ok, say a admin wanted to change a name (for some unknown reason) why couldn't he just open the char folder and do it?

but if you insist, i will do it...
well... you really dont have to do it... unless u just get really bored... i just thought maybe it would help having to look up ascii numbers if the first character changed... lol. Boring idea... i dunno who would use it... but im sure one would be useful to someone somewhere lol. Maybe make it for public use... requiring account and pass but use the same format as the one account per ip script where you can only do it once per ip. Maybe that would keep people from just running around changing their names. I dunno... just an idea i threw out... :)
<img src='http://img.villagephotos.com/p/2004-6/7 ... icesig.jpg' border='0' alt='user posted image' /><br><br>HBKrazy 2
wannabee
Loyal fan
Posts: 270
Joined: Sun Dec 21, 2003 12:42 am

Post by wannabee »

oh well, i'm making a character editor as soon as my exams are done, maybe i'll put that in..i'll see how i go
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Human knowleag belongs to THE WORLD<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>So i highly dislike people who keep to their proud selfs... thats why i wanna share everything i got with you guys :D
GoD~
Regular
Posts: 53
Joined: Sat Sep 11, 2004 4:54 am

Post by GoD~ »

Heres is a php thats shows how many account had been created on your server. This php is base on one wannabee's php code.

<a href='http://www.xevolution.com.ar/totalacc.rar' target='_blank'>Download!</a>

I wish u could understand well my english :lol:

GoD~
<img src='http://img350.imageshack.us/img350/1465/god21ee.jpg' border='0' alt='user posted image' />
GoD~
Regular
Posts: 53
Joined: Sat Sep 11, 2004 4:54 am

Post by GoD~ »

I have created a new Top10. This new php shows:

Position
Player
Level
Experience
E.K.
Contribution
STR
INT
VIT
DEX
MAG
CHARISMA

Its a complete Top10 in order to show more information about the player.

<a href='http://www.xevolution.com.ar/downloads/SuperTop10.zip' target='_blank'>Download!</a>

GoD~
<img src='http://img350.imageshack.us/img350/1465/god21ee.jpg' border='0' alt='user posted image' />
cocho
Loyal fan
Posts: 363
Joined: Sat Jan 24, 2004 10:33 pm
Location: Caracas - Venezuela
Contact:

Post by cocho »

hey, i need some help...
can anyone make a unsticker with password that reset the map loc and cords X-Y to -1 please... without errors
if anyone can make a ppl online script, i have wannabe one and other, but its hard to make it work, dont know too much english :( so please make me a easy one or teach me how to put it work...
thats all... hope wannabe or god or whoever help me... :rolleyes:
GoD~
Regular
Posts: 53
Joined: Sat Sep 11, 2004 4:54 am

Post by GoD~ »

Its very is to make work the people online php. I will explain my people online that is a bit diferent from Wannabee.

First of i have to say that people_online only work for servers that use only 1 HGServer, thats to say that they use one HGserver for all the maps.

If ur server makes that condition, lets start!

First <a href='http://www.xevolution.com.ar/downloads/ ... online.php' target='_blank'>download</a> the PHP

In the people online u will find the following code:

Code: Select all

<?
&#036;dir = "C&#58;&#092;&#092;HBServer3.51&#092;&#092;GameServerLog";
&#036;servname_lenth = "HBServer"; 
&#036;start = "<font color=green>Players Online </font>"; 
&#036;lines = file&#40;&#036;dir."&#092;&#092;GameServerLog".date&#40;"Ymd"&#41;.".log"&#41;; 
foreach &#40;&#036;lines as &#036;line&#41; &#123;
&#036;final = substr&#40;substr&#40;&#036;line, &#40;42 + &#036;servname_lenth&#41;, 8&#41;, 0, -1&#41;;
&#125;
echo &#036;start.&#036;final;
?>
From this code the only thing that we will change is the &#036;dir =
We are going to put the dir were is located our GameServerLog folder.

The next step is to go to our GServer.cfg
There we will find the following line:

Code: Select all

game-server-name          =
We are going to HBServer as name, it should stay like this:

Code: Select all

game-server-name          = HBServer
Now our people_online should be working find. It would be nice from u if dont take the credits :lol:

I wish u could undestand my english :rolleyes:

Para la gente que habla castellano vallan a www.detodoun-poko.com.ar/foro ahi solucionamos todos sus problemas

GoD~
<img src='http://img350.imageshack.us/img350/1465/god21ee.jpg' border='0' alt='user posted image' />
cocho
Loyal fan
Posts: 363
Joined: Sat Jan 24, 2004 10:33 pm
Location: Caracas - Venezuela
Contact:

Post by cocho »

erm.. i dont use 1 hgserver... its noot good cus hgserver has limits of npcs... and i will have probs.. i need a ppl online script with more than 1 hgserver...
GoD~
Regular
Posts: 53
Joined: Sat Sep 11, 2004 4:54 am

Post by GoD~ »

Due to ur problem i found a solution. u will have to change 1 thing form the people_onlinen and rename somethings.

I the people_online we found this:

Code: Select all

<?
&#036;dir = "C&#58;&#092;&#092;HBServer3.51&#092;&#092;GameServerLog";
&#036;servname_lenth = "HBServer"; 
&#036;start = "<font color=green>Players Online </font>"; 
&#036;lines = file&#40;&#036;dir."&#092;&#092;GameServerLog".date&#40;"Ymd"&#41;.".log"&#41;; 
foreach &#40;&#036;lines as &#036;line&#41; &#123;
&#036;final = substr&#40;substr&#40;&#036;line, &#40;42 + &#036;servname_lenth&#41;, 8&#41;, 0, -1&#41;;
&#125;
echo &#036;start.&#036;final;
?>
We are going to change de
&#036;servname_lenth = "HBServer";
for
&#036;servname_lenth = "HBServer##";

the we are going to change
&#036;final = substr(substr(&#036;line, (42 + &#036;servname_lenth), 8), 0, -1);
for
&#036;final = substr(substr(&#036;line, (44 + &#036;servname_lenth), 8), 0, -1);

People online should stay like this:

Code: Select all

<?
&#036;dir = "C&#58;&#092;&#092;HBServer3.51&#092;&#092;GameServerLog";
&#036;servname_lenth = "HBServer##"; 
&#036;start = "<font color=green>Players Online </font>"; 
&#036;lines = file&#40;&#036;dir."&#092;&#092;GameServerLog".date&#40;"Ymd"&#41;.".log"&#41;; 
foreach &#40;&#036;lines as &#036;line&#41; &#123;
&#036;final = substr&#40;substr&#40;&#036;line, &#40;44 + &#036;servname_lenth&#41;, 8&#41;, 0, -1&#41;;
&#125;
echo &#036;start.&#036;final;
?>
Now we have to rename all
game-server-name =
for
game-server-name = HBServer01
other
game-server-name = HBServer02
and goes on

Make sure u use 01-02-03-04-05-06-07-08-09-10-11...etc

I think u will understand...if not post ur dude.

GoD~
<img src='http://img350.imageshack.us/img350/1465/god21ee.jpg' border='0' alt='user posted image' />
morph
just visiting
Posts: 2
Joined: Mon May 17, 2004 10:20 pm

Post by morph »

I'd like an account creation script that remotely uploads the account file so people don't need the server ip and such, as i got the server ip encrypted in the client already. Which i don't want to waste. <_<
wannabee
Loyal fan
Posts: 270
Joined: Sun Dec 21, 2003 12:42 am

Post by wannabee »

remotly creates an account...ummm what you mean? well i spose you can make a script which creates a account file on another server (say an ftp) and get your server to read that ftp server for any new accont files every, sayyyyy minute...

or

you can make a script which writes to a mysql server on your computer and then get your computer to read the mysql and create the file according to the info...

anyway, there is no easy way of doing it...

(i hope this was what you where talking about)

--------------------------------------------------
yes, i've been away for quite a while now...
--------------------------------------------------
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Human knowleag belongs to THE WORLD<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>So i highly dislike people who keep to their proud selfs... thats why i wanna share everything i got with you guys :D
danny999
noob
Posts: 23
Joined: Wed Oct 22, 2003 3:12 pm

Post by danny999 »

kahn
Loyal fan
Posts: 203
Joined: Thu Oct 07, 2004 1:20 am

Post by kahn »

hi i need 2 phps i need a cont php and a server satuis php any help ????
csxtitan
Regular
Posts: 95
Joined: Sun Jul 11, 2004 11:02 am

Post by csxtitan »

*bump* more scripts would be cool :D
marleythe9
Loyal fan
Posts: 391
Joined: Sat Mar 26, 2005 12:41 am

Post by marleythe9 »

heres a script you guys may want.. i see one of you were already looking for it..

i made this long time ago about a year ago ;) it was my frist php script :) i was happy.

but any way this is unstick script with selection of maps

<a href='http://hbmt9.no-ip.biz:81/files/Web/Unstick.zip' target='_blank'>Download link 1</a>
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
wannabee
Loyal fan
Posts: 270
Joined: Sun Dec 21, 2003 12:42 am

Post by wannabee »

:S wow, i finaly found outpost again.... lol, it moved, and then i lost it...

anyways, not that i'm back, this is closed and a new thred will be open for script requests, including SQL requests :D

well, i was gonna close this thred, but i think i've been de-modded cos i wasn't active, anyways, i'll try to get it done.
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Human knowleag belongs to THE WORLD<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>So i highly dislike people who keep to their proud selfs... thats why i wanna share everything i got with you guys :D
Post Reply