Play Legend of the Green Dragon Play BNT Play Promisance Play Alien Assault Traders Play Quantum Star Play Some Chess  
   D3jsp RPGRPG   ArcadeArcade   Multiplayer PokerD3Jsp Poker   FAQ/RulesFAQ/Rules  SearchSearch  MemberlistMemberlist   UsergroupsUsergroups   ChatroomLive Chat   Log inLog in   RegisterRegister 

Bot code Free

 
Post new topic  Reply to topic  d3jsp Forum Index -> Battlefield
View previous topic :: View next topic ::  
Author Message
Cinemax


Group: Members
Joined: 05 Jul 2008
Donor:
Posts: 8361
Gold: 12885.33
Clan: HoD II


us.gif

Status:
Warn:
Reputation: 116    



Post#1 Posted: 15 Jul 2010 01:29 am    Post subject: Bot code Free Reply with quote

Code:
// Ini library v0.1
// by blue mind
// -----------------------------------------------------------------------------
// History :
//
// 0.1 : first draft, should get the job done but done. it only returns one
// big array containing all the info

// The actual parsed content of the INI
// this contains one array per section found in the ini
// each section array is formed like this :
// ipContent[0]=["Section Name",["First key name","First key value"],...]

var ipContent=new Array();

////////////////////////////////////////////////////////////////////////////////
// ipLoadFile(strFileName) //
////////////////////////////////////////////////////////////////////////////////
// Loads the ini and fills ipContent with it //
// Will consider ; or // on the beginning of lines as a comment //
////////////////////////////////////////////////////////////////////////////////
function ipLoadFile(strFileName) {
var ipFile;
var strCurrentLine;
var nIniLen=0, nSectionLen=0;
var nEndOfSection=0, nEndOfKey;
var nLines=0;
var strKeyName, strKeyValue;

ipFile=fileOpen(strFileName, 0);
if (!ipFile) {
print("Failed to open "+strFileName+" for reading");
return;
}

while (!ipFile.eof) {
strCurrentLine = ipStripSpaces(ipFile.readLine());
nLines++;

// Check to see if this line is actually a comment, or is empty
if ((strCurrentLine=="") || (strCurrentLine[0]==";") || (strCurrentLine.indexOf("//")==0)) {
continue;
}

// Check to see if it's a new section
if (strCurrentLine[0]="[") {
// check if section name is actually valid
nEndOfSection = strCurrentLine.lastindexOf("]");

// invalid section name, skip to next line and warn user
if (nEndofsectioname < 2) {
print("Error at line "+nLines+" in "+strFileName+" : invalid section name");
continue;
}

nIniLen=ipContent.length;
ipContent[nIniLen] = new Array();
ipContent[nIniLen].push(strCurrentLine.substring(1,nEndOfSection));
continue;
}

// Then it must be a key
nEndOfKey = strCurrentLine.indexOf("=");
if (nEndOfKey) {
nIniLen=ipContent.length;
nSectionLen=ipContent[nIniLen-1].length;
strKeyName=strCurrentLine.substring(0,nEndOfKey-1);
strKeyValue=strCurrentLine.substring(nEndOfKey+1);
ipContent[nIniLen-1][nSectionLen].push([strKeyName,strKeyValue]);
continue;
}

print("Some parsing error occurred at line "+nLines+" in "+strFileName+" : unknown case");
}
ipFile.close();
return ipContent;
}

// Returns all the keys and values of a section
function ipGetSectionByName(strSection) {
}

// Returns the name of all the sections
function ipGetAllSections() {
}

// Returns the value of a given key in a given section
function ipGetKeyValue(strSection,strKey) {
}

// Removes the spaces and tabs at the beginning of the string
function ipStripSpaces(strLine) {
var nLength=strLine.length;
var nPos=0;
var strNewString;
while(nPos<nLength) {
if ((strLine[nPos] == " ") || (strLine[nPos]=" "))
nPos++;
}
return strLine.substring(nPos);
}

_____________________

If I accept you as you are, I will make you worse; however, if I treat you as though you are what you are capable of becoming, I help you become that.

Click to Join HOD
E-Mail: [email protected]

Verification info. Click Here
Back to top
View user's profile Send private message Send e-mail
Wish
Deputy Minister

Group: Banned
Joined: 02 Jan 2010
Donor:
Posts: 2935
Gold: 1.17
Clan: Notorious


Status:
Warn: Banned
Reputation: 41    


Banned

Post#2 Posted: 15 Jul 2010 02:06 am    Post subject: Reply with quote

hm
how to make it work.?

_________________
This user's signature has been disabled
Back to top
View user's profile Send private message
Dragonelf


Group: Retired Moderators
Joined: 11 Mar 2009
Donor:
Posts: 4586
Gold: 58.70
Clan: Legends


gm.gif

Status:
Warn:
Reputation: 154    


Retired Moderators

Post#3 Posted: 15 Jul 2010 02:07 am    Post subject: Reply with quote

Part of the old d2jsp bot

http://blizzard.zakadum.ru/server/bot_d2/d2_1.10/d2jsp.43/d2jsp.43/scripts/libs/BMpwnIt.d2l

you have to change the ","


Last edited by Dragonelf on 15 Jul 2010 02:08 am; edited 1 time in total
Back to top
View user's profile Send private message
Wish
Deputy Minister

Group: Banned
Joined: 02 Jan 2010
Donor:
Posts: 2935
Gold: 1.17
Clan: Notorious


Status:
Warn: Banned
Reputation: 41    


Banned

Post#4 Posted: 15 Jul 2010 02:12 am    Post subject: Reply with quote

Dragonelf wrote:
Part of the old d2jsp bot

http://blizzard.zakadum.ru/server/bot_d2/d2_1.10/d2jsp.43/d2jsp.43/scripts/libs/BMpwnIt.d2l

you have to change the ","
and for what is it?
_________________
This user's signature has been disabled
Back to top
View user's profile Send private message
Dragonelf


Group: Retired Moderators
Joined: 11 Mar 2009
Donor:
Posts: 4586
Gold: 58.70
Clan: Legends


gm.gif

Status:
Warn:
Reputation: 154    


Retired Moderators

Post#5 Posted: 15 Jul 2010 02:14 am    Post subject: Reply with quote

The sourcecode of the d2jsp bot. Cine only posted a small part

Last edited by Dragonelf on 15 Jul 2010 02:14 am; edited 1 time in total
Back to top
View user's profile Send private message
ShUgaSHaNe


Group: Scammer
Joined: 30 Oct 2009
Posts: 3026
Gold: Locked
Clan: MightY


ca.gif

Status:
Warn:
Reputation: 95    


<b><font color=red>Scammer</font></b>

Post#6 Posted: 15 Jul 2010 03:47 am    Post subject: Reply with quote

fuck d2jsp

paul and his wife who looks like a lvl 45 barb
Back to top
View user's profile Send private message
Cinemax


Group: Members
Joined: 05 Jul 2008
Donor:
Posts: 8361
Gold: 12885.33
Clan: HoD II


us.gif

Status:
Warn:
Reputation: 116    



Post#7 Posted: 15 Jul 2010 03:48 am    Post subject: Reply with quote

Dragonelf wrote:
The sourcecode of the d2jsp bot. Cine only posted a small part



Wow, your smart yo, for sure you are.. I admire you for that I didn't know u knew so much about that.

Can u make webpages too?

_____________________

If I accept you as you are, I will make you worse; however, if I treat you as though you are what you are capable of becoming, I help you become that.

Click to Join HOD
E-Mail: [email protected]

Verification info. Click Here
Back to top
View user's profile Send private message Send e-mail
ShUgaSHaNe


Group: Scammer
Joined: 30 Oct 2009
Posts: 3026
Gold: Locked
Clan: MightY


ca.gif

Status:
Warn:
Reputation: 95    


<b><font color=red>Scammer</font></b>

Post#8 Posted: 15 Jul 2010 04:01 am    Post subject: Reply with quote

Cinemax wrote:
Dragonelf wrote:
The sourcecode of the d2jsp bot. Cine only posted a small part



Wow, your smart yo, for sure you are.. I admire you for that I didn't know u knew so much about that.

Can u make webpages too?


ofc joe that man is pro ^^
Back to top
View user's profile Send private message
Cinemax


Group: Members
Joined: 05 Jul 2008
Donor:
Posts: 8361
Gold: 12885.33
Clan: HoD II


us.gif

Status:
Warn:
Reputation: 116    



Post#9 Posted: 15 Jul 2010 04:08 am    Post subject: Reply with quote

GanGsTeR wrote:
Cinemax wrote:
Dragonelf wrote:
The sourcecode of the d2jsp bot. Cine only posted a small part



Wow, your smart yo, for sure you are.. I admire you for that I didn't know u knew so much about that.

Can u make webpages too?


ofc joe that man is pro ^^



bummer... tried rep.

You can't change reputation of the same member more than once in 99999999 minutes.

_____________________

If I accept you as you are, I will make you worse; however, if I treat you as though you are what you are capable of becoming, I help you become that.

Click to Join HOD
E-Mail: [email protected]

Verification info. Click Here
Back to top
View user's profile Send private message Send e-mail
ShUgaSHaNe


Group: Scammer
Joined: 30 Oct 2009
Posts: 3026
Gold: Locked
Clan: MightY


ca.gif

Status:
Warn:
Reputation: 95    


<b><font color=red>Scammer</font></b>

Post#10 Posted: 15 Jul 2010 04:19 am    Post subject: Reply with quote

Cinemax wrote:
GanGsTeR wrote:
Cinemax wrote:
Dragonelf wrote:
The sourcecode of the d2jsp bot. Cine only posted a small part



Wow, your smart yo, for sure you are.. I admire you for that I didn't know u knew so much about that.

Can u make webpages too?


ofc joe that man is pro ^^



bummer... tried rep.

You can't change reputation of the same member more than once in 99999999 minutes.


wtf why change my rep ????
Back to top
View user's profile Send private message
Cinemax


Group: Members
Joined: 05 Jul 2008
Donor:
Posts: 8361
Gold: 12885.33
Clan: HoD II


us.gif

Status:
Warn:
Reputation: 116    



Post#11 Posted: 15 Jul 2010 04:32 am    Post subject: Reply with quote

GanGsTeR wrote:
Cinemax wrote:
GanGsTeR wrote:
Cinemax wrote:
Dragonelf wrote:
The sourcecode of the d2jsp bot. Cine only posted a small part



Wow, your smart yo, for sure you are.. I admire you for that I didn't know u knew so much about that.

Can u make webpages too?


ofc joe that man is pro ^^



bummer... tried rep.

You can't change reputation of the same member more than once in 99999999 minutes.


wtf why change my rep ????



I went to add rep to Dragonelf.

Have another drink ftw.

_____________________

If I accept you as you are, I will make you worse; however, if I treat you as though you are what you are capable of becoming, I help you become that.

Click to Join HOD
E-Mail: [email protected]

Verification info. Click Here
Back to top
View user's profile Send private message Send e-mail
ShUgaSHaNe


Group: Scammer
Joined: 30 Oct 2009
Posts: 3026
Gold: Locked
Clan: MightY


ca.gif

Status:
Warn:
Reputation: 95    


<b><font color=red>Scammer</font></b>

Post#12 Posted: 15 Jul 2010 04:43 am    Post subject: Reply with quote

Cinemax wrote:
GanGsTeR wrote:
Cinemax wrote:
GanGsTeR wrote:
Cinemax wrote:
Dragonelf wrote:
The sourcecode of the d2jsp bot. Cine only posted a small part



Wow, your smart yo, for sure you are.. I admire you for that I didn't know u knew so much about that.

Can u make webpages too?


ofc joe that man is pro ^^



bummer... tried rep.

You can't change reputation of the same member more than once in 99999999 minutes.


wtf why change my rep ????



I went to add rep to Dragonelf.

Have another drink ftw.


will do joe.. no fight with that wub
Back to top
View user's profile Send private message
Cinemax


Group: Members
Joined: 05 Jul 2008
Donor:
Posts: 8361
Gold: 12885.33
Clan: HoD II


us.gif

Status:
Warn:
Reputation: 116    



Post#13 Posted: 15 Jul 2010 05:26 am    Post subject: Reply with quote

GanGsTeR wrote:
Cinemax wrote:
GanGsTeR wrote:
Cinemax wrote:
GanGsTeR wrote:
Cinemax wrote:
Dragonelf wrote:
The sourcecode of the d2jsp bot. Cine only posted a small part



Wow, your smart yo, for sure you are.. I admire you for that I didn't know u knew so much about that.

Can u make webpages too?


ofc joe that man is pro ^^



bummer... tried rep.

You can't change reputation of the same member more than once in 99999999 minutes.


wtf why change my rep ????



I went to add rep to Dragonelf.

Have another drink ftw.


will do joe.. no fight with that wub


it's ok.
I would not mind woopin some gangster wannabe's ass anyhow.

_____________________

If I accept you as you are, I will make you worse; however, if I treat you as though you are what you are capable of becoming, I help you become that.

Click to Join HOD
E-Mail: [email protected]

Verification info. Click Here
Back to top
View user's profile Send private message Send e-mail
Dragonelf


Group: Retired Moderators
Joined: 11 Mar 2009
Donor:
Posts: 4586
Gold: 58.70
Clan: Legends


gm.gif

Status:
Warn:
Reputation: 154    


Retired Moderators

Post#14 Posted: 15 Jul 2010 10:26 am    Post subject: Reply with quote

I can code websites, vb6.0, programs, anything, fucking pro
Back to top
View user's profile Send private message
happyguy44
Lulz

Group: Members
Joined: 28 Jun 2008
Posts: 9948
Gold: 2.40


us.gif

Status:
Warn:
Reputation: 102    



Post#15 Posted: 15 Jul 2010 11:28 am    Post subject: Reply with quote

could you program a script that lets you punch people though the internet?
Back to top
View user's profile Send private message
Dildo
Sexy Little Piss Ant

Group: Banned
Joined: 05 Jul 2010
Donor:
Posts: 273
Gold: 10.00


us.gif

Status:
Warn: Banned
Reputation: 12    


Banned

Post#16 Posted: 15 Jul 2010 11:31 am    Post subject: Reply with quote

GanGsTeR wrote:
fuck d2jsp

paul and his wife who looks like a lvl 45 barb

She doesn't appear intelligent, I would say she's about a level 5 warcry barb

_________________
This user's signature has been disabled
Back to top
View user's profile Send private message Visit poster's website
Ricky
Niggitynog

Group: Members
Joined: 28 Jun 2008
Posts: 4447
Gold: 1.56


us.gif

Status:
Warn:
Reputation: 123    



Post#17 Posted: 16 Jul 2010 01:22 am    Post subject: Reply with quote

Cinemax wrote:
GanGsTeR wrote:
Cinemax wrote:
GanGsTeR wrote:
Cinemax wrote:
GanGsTeR wrote:
Cinemax wrote:
Dragonelf wrote:
The sourcecode of the d2jsp bot. Cine only posted a small part



Wow, your smart yo, for sure you are.. I admire you for that I didn't know u knew so much about that.

Can u make webpages too?


ofc joe that man is pro ^^



bummer... tried rep.

You can't change reputation of the same member more than once in 99999999 minutes.


wtf why change my rep ????



I went to add rep to Dragonelf.

Have another drink ftw.


will do joe.. no fight with that wub


it's ok.
I would not mind woopin some gangster wannabe's ass anyhow.


Shut up you ugly hill billy derisive


Last edited by Ricky on 16 Jul 2010 01:22 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Ricky
Niggitynog

Group: Members
Joined: 28 Jun 2008
Posts: 4447
Gold: 1.56


us.gif

Status:
Warn:
Reputation: 123    



Post#18 Posted: 16 Jul 2010 01:23 am    Post subject: Reply with quote

Btw that code can suck my left testicle. It's trash,
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
1 Members: Guest
Post new topic  Reply to topic  d3jsp Forum Index -> Battlefield All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


D3jsp is proudly powered by phpBB © 2.0
Theme and Forum by tramway