SSForum.net is back!
-
Posts
948 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Events
Gallery
Articles
Everything posted by Witchie NL
-
hmmmm i know i always look there but my problem is that im a dutch !@#$%^&* which doesnt understand (...) from that but ill try again (i always try to learn things from other plugins)
-
ok my first question to start with is how to write a certain text in an .txt my code so far: case EVENT_Tick: { for (int i = 0; i < 4; ++i) --countdown[i]; if (countdown[0] == 0) { tell(makeEcho("Saving current scores!")); _listnode <Player> *parse = playerlist->head; /// cycle through the playerlist while (parse) /// while cycling... { Player *p = parse->item; /// make sure it's a player... { int killpoints = p->score.killPoints; int flagpoints = p->score.flagPoints; int totalpoints = flagpoints + killpoints; int losses = p->score.losses; int wins = p->score.wins; sendChannel("---" + String(p->name) + "---"); sendChannel("wins :" + String(wins)); sendChannel("losses :" + String(losses)); sendChannel("killpoints :" + String(killpoints)); sendChannel("flagpoints :" + String(flagpoints)); sendChannel("totalpoints :" + String(totalpoints)); sendChannel(" "); } parse = parse->next; /// set link to next player } countdown[0] = 60; } } break; yes it works now i dont need to let the bot say it in a channel but let it put it in a text do!@#$%^&*ent.... and if that player already has be decleared in the textdoc change it and if the player doenst excist in the text do!@#$%^&*ent yet then put it underneath it... meaning of this plugin: backing up the score's in case !@#$%^&* mod's or higher *scorereset the arena! if this is easyer this may also be posible...: that it stores: : kills:#### losses:#### killpoints:#### flagpoints:#### totalpoints:#### Edited: happy samapico?
-
ok becouse i have liek 4 topics which i need help in for bots (ohh im so stupid) ill open this 1 which ill awnser my questions in.... this way you people dont get to many aged topics...
-
ew i forgot how it worked -.- (stupid me) so now the question: how do i let the bot say: 'WARNING:' and the text that come after it? i do know its something like: at the: CASE_EventChat case MSG_ServerError: { if (CMPSTART("WARNING", 100)) } break; all it needs to do is print out the text behind: WARNING and send it to a squadchat with: ;3;
-
!@#$%^&* i expected to be a full list of all warnings are they defined in the src from subill.exe (or isnt that src free?) coz i am building a mervbot that stores all serverwarnings in a .txt file and displays em (if defined) in a certain chat... ohh wait.. do all warnings start with: 'WARNING:'? in that case it quite easy to build this bot
-
does anyone have a -->FULL<-- list of server warnings which can occor? It needs to be a list of warnings from subgame.. thx -witch
-
ok i am editing a plugin which is already using all 4 of the countdowns but i need more countdowns what do i need to edit to make it happen? Spawn.h: public: botInfo(CALL_HANDLE given) { handle = given; callback = 0; playerlist = 0; flaglist = 0; map = 0; countdown[0] = 100; countdown[1] = 10; countdown[2] = 300; countdown[3] = 300; CONNECTION_DENIED = false; me = 0; biller_online = true; } Spawn.cpp: for (int i = 0; i < 4; ++i) --countdown[i];
-
yeah such a thing would look cool... i got another sugestion... Now you only have 7 chats which you can talk in and the others you can just listen in. Rebuild the chatsystem that when you want to set your chats you need to do something like this: ?chat=1:chat1 2:chat2 3:chat3 4:chat4 if imposible edit the ' ' for ',' and that you can talk in a max of 20 chats and chat 20 and higher is just listening.. Also needs to be edit the thing when you typ ?chat that it shows this: 1: -Chat1-: Players 2: -Chat2-: Players 2: -Chat2-: Some more players 3: -Chat3-: Players And so on... And a sort of friendlist would also be cool... (declear the friendlist in a .dat file and then let that datfile be opened in F1 help at the end of the zonedecleared help..)
-
WTF! i never had errors a few days ago i aplied some special tiles and saved it (in DCME) then i went to SSME and opened it and it just opened fine... just doesnt load the extra tiles...
-
lol but SOS are you going on with continuum 2 or not? but the nightvision !@#$%^&* is not realy hard to build just prob will couse some lag coz you just need to rebuild all the other graphix to nightvision... (check the attachment done in 5 sec's) not perfect but comes close to usable... just implent it as ships2.bm2 and let it switch on and turn the old graphic off with (for example) ctrl+n... no idea of how conti is build so duno if that is hard but i dont think it is...
-
Ok i got a cool sugestion which will do increase some lag i think... If you use some certain keys you get a nightvison look which will show certain points darker or lighter depending on theyr temerature.. then you need somesort of heatseaking missile which wil fly to the hotest target in sight...
-
I got another bug that often comes around in DCME. When you try to use the text feature that puts tekst in the map there often comes a bug. I wen to put some tekst (size 72) and then when you dont agree with the size you need to move the selection and then delete it cou cant just emedietly delete it. when you do that it doesnt disapear and when you try to move it it gives error: "Scrypt out of range" sometimes its getting realy anoying. ohh i dlded DCME at the "Development tools part" maybe its an outdated version $_$
-
sure i wont.. dont need lvz toggeling anyway
-
ok dude i created it and this is what i came with in command.cpp: if (c->check("stopball")) /// check command for stop { startball = false; sendPrivate(p, "Now see what you've done, Now it stoped!"); /// stoped sendPublic(SND_Scream, ".*arena Ballgame has now ended. Thank you for playing and enjoy your stay at DS. - DSstaff"); sendPublic(SND_Scream, ".*arena Ballgame has now ended. Thank you for playing and enjoy your stay. - DSstaff"); sendPublic(SND_Scream, ".*arena Ballgame has now ended. Thank you for playing and enjoy your stay at DS. - DSstaff"); int i = 1; { if(freq >= 100) sendPrivate(p, "*setfreq " + String(i ^= 1)); } } now when i try to compile it gives the error: e:\mervbot\src\ballgame\command.cpp(197) : error C2065: 'freq' : undeclared identifier sounds logical with me coz freq isnt an defined integer... Do i miss something in spawn.h?
-
Ok i took a loot at the DLL's you create with compiling and they always are around 250kb, now i wonder how can you decrease this size and doest it help against lag to? If "help against lag" is no: How do you decrease lag in an MERVbot DLL?
-
DOH "packet""loss". but my lag doesnt decrease if i shutdown those programms. And i also eat more with 1% then with 7% how can that be coused?
-
haha i understand was stoned when i typed that... ok leme do it again. there is just said that negative ploss doesnt give bad affects, but in Desert Storm we see players with negative ploss alot and they eat-spike and all the other things that laggots do. How can this be posible if negative ploss doesnt give bad affects?
-
ill try that, hope it works.... ty
-
sorry i was bored i read this and was feeling for some easy work...
-
no i dont now the freqs 100 to 200 are registered, but i got another question: If i do !stopball everyone is still in that private freq, but they need to be put back to freq 0 and freq 1 to keep them even. anyone an idea how to setfreq half of the players to freq 1 and the other half to freq 0 if you do !stopball?
-
sorry was bored and found this topic and let me build my own C++ based windows application...
-
FFS an single player mode in conti? god first of all you need to include 300 bots to let someone play with. then you need to rewrite the whole thing and then if it finished its boring coz you have nothing to chat with... sounds cool! do it!
-
ok i got this realy nasty habit to have super high lag. Well not super high but high with a limit of 1% 3% isnt a realy cool amount to play with. Now the weird part if i startup some programs which always make me lag with 9%+ and i then shut em down my lag doesnt decrease, not even after 30 min, but if i restart conti it emedietly is 1% or less (usualy 0.4%). Another thing that seems to happen if i lag with 9% i dont eat verry mutch or spike either. But if i lag with 1.2% i eat alot lots of complains and i spike to sometimes... is this coused due the loss of certain packets or what?
-
i fully understand what you are saying and i also understand its true but in Desert Storm we see alot of players with -15% and they spike and/or eat horibly with 15% so not totaly true i think?
-
ok i dont get this dud duno if its me . prob me, my english isnt realy well. Ok ill contact you ingame. dont know what you ment with the spawn.h thing but the only thing it needs to do is send every person who uses !joinball, setfreq to all diferent freq's. Example: Person1> !joinball bot> *setfreq 101 Person2> !joinball bot> *setfreq 102 Person3> !joinball bot> *setfreq 103 etc.. etc..