| Blockland Forums > Modification Help |
| GameConnection::onConnectRequest script fails authentication. |
| << < (3/6) > >> |
| wizzlemanizzle:
I think what ZSNO is saying is that in Blocklands main game code, the overriding of onconnectrequest is a NO-GO, Probably because Mr. Hartman does not want you screwing with a client as they are connecting to a server. And I think what you are trying to do is exactly the reason he did this. Why is it absolutely required that the connect message not appear? |
| Nexus:
--- Quote from: wizzlemanizzle on May 01, 2011, 01:36:49 AM ---Why is it absolutely required that the connect message not appear? --- End quote --- --- Quote from: Ipquarx on April 30, 2011, 03:45:27 PM ---okay, so your saying its not possible to have my mod skip the blah connected and blah disconnected messages from the server? because i recently uploaded it to rtb, and it was failed because of just that. --- End quote --- i still suggest a trace(1); |
| Ipquarx:
--- Quote from: wizzlemanizzle on May 01, 2011, 01:36:49 AM ---I think what ZSNO is saying is that in Blocklands main game code, the overriding of onconnectrequest is a NO-GO, Probably because Mr. Hartman does not want you screwing with a client as they are connecting to a server. And I think what you are trying to do is exactly the reason he did this. Why is it absolutely required that the connect message not appear? --- End quote --- Because unless i can get rid of the message, it's going to be failed again on rtb when i upload it, and im not overriding it. i'm parenting it, putting it in a package, and i figured out that return "error"; will work as well as %this.delete(); did with autoadmincheck, and doesent mess with any client data or anything, and it doesent crash or break anything. --- Quote from: Nexus on May 01, 2011, 01:47:04 AM ---i still suggest a trace(1); --- End quote --- I did that, and i found something! its called servAuthTCPobj::onLine(%this, %line) its a little function that recives some harmless server specs, and is the only function before autoadmincheck that recives the players blid. it cant be exploited in any way that i know of, but does anyone know if this function is called in non-dedicated servers? |
| ZSNO:
--- Quote from: Ipquarx on April 30, 2011, 07:05:16 PM ---i already said that my mod was failed because i used autoadmincheck. if i want it uploaded to rtb (which i do) i need to have it in a diffrent function. --- End quote --- lol RTB's auto screener or mod reviewer? |
| Ipquarx:
mod reviewer, says that you can spam the server because of the connected and disconnected messages. (which i guess you could, but youd have to be a idiot, and you can just temp ban them if they do.) do you know if servAuthTCPobj::onLine(%this, %line) is called in non-dedicated servers? |
| Navigation |
| Message Index |
| Next page |
| Previous page |