-
Posts
947 -
Joined
-
Last visited
About Witchie NL
- Birthday 05/31/1990
Contact Methods
-
MSN
witchienl@hotmail.com
-
Website URL
http://www.studiob27.com/
-
ICQ
0
Profile Information
-
Gender
Male
-
Location
Netherlands
-
Interests
Java (Advanced), C++, Objective-C, HTML, MySQL,
-
Zone
Desert Storm
-
Squad
Zanddijk
Witchie NL's Achievements
Newbie (1/14)
-
Changed servers: http://witchie.sscentral.com
-
Im not a webcoder. But i could ask some friends of mine however. Meh, ill see what i can do.
-
Sometimes its hours and sometimes its minutes. Ive had this with continuum aswell.. i dont know if thats with .38 .39 or .40. Ive logged in a few times... "please try again in a few minutes". Waited about half an hour or so.. Then i tried again a few times and i got "please try again in a few hours". No i wasnt trying to get someone else's account... i tried it get back my first account without reseting the usage info.. (Wanted to know my first played)
-
Ive put a few of my plugins on a website. http://witchie.zone-ds.net/ Some plugins you guys might be interested in: Evener.dll - This plugin evens the last players who entered a freq. (Only checks for freq 0 and 1). It also has an inbuild teamlocker which can lock the teams when they have all flags. Records.dll - This plugin keeps track of all the records made in the zone. See my website for several other plugins and further info. Im also planning to change my website into a forum where people can post their plugins/descriptions. Something like ssdownload.com for botplugins and other bot related files.
-
Im sorry to hear that our mods handled this all wrong. Xter, i never thought i had to say this but i acutaly agree with you on this one. Now for things said in here: Bots are eventualy going to be decreased to 2 in public. We where currently focusing on public arena with V3 but we will eventualy go to sub arena's aswell. As for the staff, yeah they handled this all wrong and handled some things wrong in the past aswell. But for as far as ive heard some have some personal things going wrong, and i can understand that youll handle things diffrent then. And about jericho, he doesnt do much indeed. But he does host alot for us. (Bots, test zones, name it). And he acutaly listens to what players want and let us do what we things is better for DS. Unlike vili who only wanted what HE liked. The evening of players should be fixed aswell, I recoded the evener.dll so it evens the last person to enter the team (and exclude flag carriers if you want). I think you guys on this forum have to give us a chance tho. LT, TJ and me worked hard on DS v3 to get it even better then it used to be and make it be attractive for you aswell. We also removed a realy large part of all the bans that where made to give everyone a new chance. And Apache, idk what you have against me. But yeah i love you to........ Have fun in Desert Storm, - Witchie NL (DS v3 Bot coordinator)
-
Ok bak's code worked and the buf[sizeof(buf) - 1] = 0; wasnt needed indeed. Now the following: I have this, int temp = t->Credit - Credsadded; char cred1[10]; _snprintf(cred1, sizeof(cred1) - 1, "%i", temp); for (int c = 0; cred1[c]; ++c) cred1[c] -= '0'; int temp2 = t->Credit; char cred2[10]; _snprintf(cred2, sizeof(cred2) - 1, "%i", temp2); for (int d = 0; cred2[d]; ++d) cred2[d] -= '0'; for (int i=0; i<10; i++) { int t = i+20; sendPrivate(p, ".*objoff "+(String)t+(String)cred1[i]); sendPrivate(p, ".*objon " +(String)t+(String)cred2[i]); } Now it works propperly but if i have a number under the 10 digits it gives a little problem. int a = 12345; char b[10]; youll have...: b0=1; b1=2; b2=3; b3=4; b4=5; b6=0; b7=; b8=; b9=; ...after the _snprintf(); Main question: To make it a bit easyer: this is what i need to do, What should i change to what? Or if posible: Is there a way to fill up the with 0's?
-
void botInfo::UpdateLvz(Player *p, int Credsadded) { Account *t = FindEntree(p->name); if (!t) { t = new Account(); t->Owner = p->name; t->Credit = InitCred; Credslist.append(t); tell(makeEcho("New Entree created: "+(String)p->name+".")); } string temp; temp = t->Credit - Credsadded; char cred1[10]; strncpy(cred1, temp.c_str(), temp.length()); string temp2; temp2 = t->Credit; char cred2[10]; strncpy(cred2, temp2.c_str(), temp2.length()); for (int i=0; i<10; i++) { int t = i+20; sendPrivate(p, ".*objoff "+(String)t+(String)cred1[i]); sendPrivate(p, ".*objon " +(String)t+(String)cred2[i]); } } To make it a bit easyer: this is what i need to do, What should i change to what? t=a number between 19 and 30 where the first of those is just a number the second number is a pos on the lvz board and the third number cred# is the number of the lvz. So 213 would make 2-position 1-number 3. I also tried to use temp.at(i); but somehow i couldnt use that in sendPrivate(), gives an error and then closes mervbot.
-
Im doing this in C++ for mervbot. Mervbot has its own string class included and c_str() isnt included. Adding at the top isnt working aswell.
-
Does anyone know how to copy a String into a char array? For instance: If i have an integer type variable that holds the number 1234567. And a char temp[10] array. How do i get the integer into the char array so i have each number in a seperate array position like: temp[0]=1 temp[1]=2 temp[3]=3 temp[4]=4 temp[5]=5 temp[6]=6 temp[7]=7 At the moment i have this: String temp = t->Amount; // t->Amount is an integer char blah[10]; strncpy(blah, temp, 10); But this copies the value of the string variable into each array position. So with a string holding 100 that would make: blah[0]=100 blah[1]=100 blah[2]=100
-
Rootbear's screenie aint altered, i seen him having huge lag all the time
-
Look i liked you ideas, thats no problem. But i think vili doesnt want you to help me, if he does allow you to help me ill contact you. Ok?
-
pathetic indeed. I just found this topic (Since a !@#$%^&*load of !@#$%^&*!@#$%^&*s only start useless crap topics, and ruen topics, i aint reading this forum anymore). Ive come by a few things: 1: There was said somewhere that sysops are never there, im there whenever i have free time which is alot. And when im there im working on DS v3 and i dont want to be disturbed. 2: !@#$%^&* was a good Smod in my opinion and i would hire him back if it was up to me. 3: Someone said henk and jeri where racist, in fact a large part of the dutch pop is not from the netherlands at all and thats probebly the reson alot of people are racist in holland. So its nothing strange. Also i have never seen him do anything against a !@#$%^&* or turkish guy just becouse he is black or turkish. As far as ive seen he threats them the same. Look all the "!@#$%^&*!@#$%^&*s who are talking bull!@#$%^&* crap about DS", Im working on DS v3 which will take a while (becouse noone wants to help). At the moment i have % of the bots done and after the bots ill make a start on the shipsets and map. DS v3 will be a Re-make of every single pixel/setting in the zone. This includes the Rules, Ban Protocols, EVERYTHING. The main reson im doing this is coz im tired of you !@#$%^&*!@#$%^&*s bashing DS, i decided to do everything again coz im getting tired of this. I hope this will fix things. Have a good "life", Witchie NL (Head development)
-
k did that, thanks you. I aint a realy good coder yet, tho im improving quite fast. thanks alot.
-
K i got this fixed. I had no idea what i was doing with some functions and that was the problem. I was using memcpy(t->Owner, Owner, 20); to a String type variable.
-
void botInfo::LoadDat() { tell(makeEcho("Loading database entrees.")); BountyDat.clear(); for (int i=0; i<=1; i++) { if (GetSetting("Bounty.dat", "Account"+(String)i, "Owner")) { String Owner = GetSetting("Bounty.dat", "Account"+(String)i, "Owner"); String Wins = GetSetting("Bounty.dat", "Account"+(String)i, "Wins"); String Losses = GetSetting("Bounty.dat", "Account"+(String)i, "Losses"); BtyDat *t = new BtyDat(); memcpy(t->Owner, Owner, 20); t->Wins = getInteger(Wins, 10); t->Losses = getInteger(Losses, 10); tell(makeEcho("Account"+(String)i+" - Owner="+(String)t->Owner.msg+" Wins="+(String)t->Wins+" Losses"+(String)t->Losses)); BountyDat.append(t); } } tell(makeEcho((String)i+" Entrees loaded.")); } There isnt a debug button. Sorry my MSVC++ is dutch, its 'Close', 'Try again' and 'Ignore' the error window sais.