Search found 37 matches

by Kaphene
11 May 2013, 19:07
Forum: ManiaScript
Topic: Ident as Net-Variable
Replies: 7
Views: 848

Re: Ident as Net-Variable

is there not a way to convert an Ident to a text or string type variable and then pass that to net? like declare Text[] PlayersIdents; foreach(Player in Players) { PlayersIdents.add(Player.Id); } and then do whatever you want with PlayersIdents? I know it's not that simple exactly, but isn't there s...
by Kaphene
11 May 2013, 01:50
Forum: ManiaScript
Topic: Free to a good home.
Replies: 0
Views: 477

Free to a good home.

Well I think I'm finally done trying this maniascripting thing... It was a lot of fun while it lasted, but not actually having any real programming experience, troubleshooting the bugs I keep running into is just taking too much time, and it would probably be really really simple for somebody that k...
by Kaphene
08 May 2013, 00:44
Forum: ManiaScript
Topic: OnPlayerLeaves?
Replies: 15
Views: 2289

Re: OnPlayerLeaves?

Unfortunately I ran into an issue where LaneOne - LaneFive needed to be CSmPlayer because I use them directly in a for loop for which players to spawn where.

I have updated my script to try !LaneOne.existskey(I)

I will edit if that doesn't work... seems to be working right now but who knows.
by Kaphene
08 May 2013, 00:02
Forum: ManiaScript
Topic: OnPlayerLeaves?
Replies: 15
Views: 2289

Re: OnPlayerLeaves?

I'll be honest, I actually did think they just became Null when somebody left >< lol anyhoo declare CSmBlockSpawn[] G_ListofAttackSpawns; // Attacker Spawns declare CSmBlockSpawn[] G_ListofDefenseSpawns; // Defender Spawns declare CSmBlockPole[] G_ListofGoals; // Goals declare Ident[] IsAttacking; /...
by Kaphene
07 May 2013, 23:42
Forum: ManiaScript
Topic: OnPlayerLeaves?
Replies: 15
Views: 2289

Re: OnPlayerLeaves?

Alright new problem coming through. I thought I had devised a workaround, but it's not working // ---------------------------------- // // Player Left? // ---------------------------------- // for(I, 0, (IsAttacking.count -1)) { if(IsAttacking[I] == NullId) { IsAttacking.removekey(I); } } so I basic...
by Kaphene
07 May 2013, 22:24
Forum: ManiaScript
Topic: OnPlayerLeaves?
Replies: 15
Views: 2289

Re: OnPlayerLeaves?

This is actually a whole new gamemode lol, but um I figured out the Null part, I just had to use NullId.... seems like whenever I post something on here I instantly solve it. too bad there isn't a CSmModeEvent OnPlayerLeaves or a ModeBase script for ***OnPlayerLeaves*** but O well.. I think I got a ...
by Kaphene
07 May 2013, 22:02
Forum: ManiaScript
Topic: OnPlayerLeaves?
Replies: 15
Views: 2289

OnPlayerLeaves?

I'm sure this has been asking before, but I searched on google and here and nothing really came up. Is there an easyish way to tell when a player leaves the game? also in a related workaround question. I'm doing something like for(I, 0, myarray.count -1) if(myarray == Null){ myarray.remove } but it ...
by Kaphene
03 May 2013, 19:21
Forum: MPAseco
Topic: stuck at mysql connection
Replies: 10
Views: 2796

Re: stuck at mysql connection

silly me, I got it working, I just had to enable it in the fufi widgets config, but my account didn't have permission, so everytime I tried to edit it, it would fail, I just needed to edit it and then upload it... alright everything solved nothing to see here, thanks everybody :D
by Kaphene
03 May 2013, 18:48
Forum: MPAseco
Topic: stuck at mysql connection
Replies: 10
Views: 2796

Re: stuck at mysql connection

I already had that installed actually :P, the donate shows up at the bottom and map name shows up and it says in the text map karma currently 0/0 blah blah, but there is no box to click + or -
by Kaphene
03 May 2013, 18:19
Forum: MPAseco
Topic: stuck at mysql connection
Replies: 10
Views: 2796

Re: stuck at mysql connection

Ugh this is being a lot more difficult than it probably should be, but thank you a ton for trying to help me.... I don't understand where 'kaphene'@'localhost' is even coming from because that's not the username I made for mysql and it's not what I have in the localdatabase.xml that's the user I log...

Go to advanced search