[script] get a list of some variables???

User avatar
KILROY
Posts: 1315
Joined: Sat Apr 05, 2014 8:59 pm
Location: Texas

Re: [script] get a list of some variables???

Post by KILROY »

i dont think Control::getId(); was in 1.3 either was it?
No I don't see it.
perrinoia
Site Admin
Posts: 3732
Joined: Sun Jul 01, 2012 7:18 pm

Re: [script] get a list of some variables???

Post by perrinoia »

Fixious wrote:
lots of new math that i already knew was in there too but also HTML/XML related stuff like div and span, htmltag(), htmlemit and xmlizename
Likely for PlayTribes (browser version)?
Image
It's for the stats exporter... It records stats and exports them as html files in the /Tribes/stats/ directory.

Example:
  • Match Stats
    Player Rating K/D CG Plas Disc Xplosv Laser Mortar Trt Suic TK CKill Grb Pckup Drp Ret Stdoff Ret Assists Cap
    wil 20 1/0 0/0 0/0 0/0 0/0 1/0 0/0 0/0 0 0/0 0 0 0 0 0 0 0 0
    SZKAMAN 153 7/6 0/0 1/3 0/0 2/1 4/2 0/0 0/0 0 0/0 0 2 0 2 0 0 0 0
    <^Bee <^Cee -6 0/3 0/0 0/0 0/0 0/1 0/2 0/0 0/0 0 0/0 0 0 0 0 0 0 0 0
    Ange1maker 0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0 0/0 0 0 0 0 0 0 0 0
    Dark v6 23 2/1 0/0 2/0 0/0 0/0 0/1 0/0 0/0 1 0/0 0 0 0 0 0 0 0 0
    [df]Perrinoia 1188 52/1 0/0 24/0 0/0 28/0 0/1 0/0 0/0 1 0/0 0 1 0 1 0 0 1 0
    db Teabagg-Yew 25 1/0 0/0 0/0 0/0 1/0 0/0 0/0 0/0 0 0/0 0 0 0 0 0 0 0 0
    Mick 194 1/8 0/0 0/4 0/0 1/0 0/4 0/0 0/0 0 0/0 0 0 1 0 0 0 0 1
    CarnHey 0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0 0/0 0 0 0 0 0 0 0 0
    BE Totals 1595 64/20 0/0 27/7 0/0 32/2 5/11 0/0 0/0 2 0/0 0 3 1 3 0 0 1 1
    |SKB| ARISTOS 117 5/14 0/0 3/4 0/0 0/9 2/1 0/0 0/0 1 0/0 1 0 0 0 2 0 0 0
    ingrid{OZ} 0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0 0/0 0 0 0 0 0 0 0 0
    a Bad Assh01e 15 1/0 0/0 1/0 0/0 0/0 0/0 0/0 0/0 0 0/0 0 0 0 0 0 0 0 0
    {D3RP}_zosan 4 1/3 0/0 0/0 0/0 1/3 0/0 0/0 0/0 3 0/0 0 0 0 0 0 0 0 0
    WARCON****** 40 3/5 0/0 1/1 0/0 0/3 2/1 0/0 0/0 1 0/0 0 0 0 0 0 0 0 0
    onefrosty1 -6 0/3 0/0 0/1 0/0 0/2 0/0 0/0 0/0 0 0/0 0 0 0 0 0 0 0 0
    Derek -58 0/24 0/0 0/13 0/0 0/9 0/2 0/0 0/0 2 0/0 0 0 0 0 0 0 0 0
    {D3RP}_Ozzie 79 5/3 0/0 0/2 0/0 0/0 5/1 0/0 0/0 3 0/0 0 0 0 0 0 0 0 0
    {D3RP}_Bored -2 0/1 0/0 0/0 0/0 0/1 0/0 0/0 0/0 0 0/0 0 0 0 0 0 0 0 0
    {D3RP}_Bored.1 37 3/9 0/0 2/5 0/0 1/4 0/0 0/0 0/0 0 0/0 0 0 0 0 0 0 0 0
    Angelmaker.1 29 2/3 0/0 0/1 0/0 0/1 2/1 0/0 0/0 1 0/0 0 0 0 0 0 0 0 0
    DS Totals 257 20/64 0/0 7/27 0/0 2/32 11/5 0/0 0/0 11 0/0 1 0 0 0 2 0 0 0
BTW: Angelmaker was base killing and rocket boosting teammates for several maps in a row, as well as voting to kick random people. The rest of the players successfully voted to kick him several times, but he returned seconds later with a new IP address every time.
Image
Groove
Posts: 218
Joined: Thu Apr 17, 2014 10:36 pm

Re: [script] get a list of some variables???

Post by Groove »

yeah i suspected some of the html stuff was 4 exporting stats (and maybe sending them to a database at playtribes) but i suppose the only person who will know would be andrew

there are lots of strange .gui files, math tests and other junk in 1.40 im sure andrew was playing around with that he intended to either finish or remove for a real release
User avatar
KILROY
Posts: 1315
Joined: Sat Apr 05, 2014 8:59 pm
Location: Texas

Re: [script] get a list of some variables???

Post by KILROY »

You know you can put an IP tracer on his connection while he's in the server, and it will give you his actual IP, if you actually own the server hosting, and not renting one. Then the next time they come in or before they join again, you can ban the IP. If your going to try to revive Tribes, these people will spoil it for everyone, including if you get new people to start playing. It's up to the people hosting to put a stop to this. Admins can only do so much if there are work arounds to rejoin a server. These are the types of people that will spoil the game for everyone, if we do not do something about them now.

Now, if they try to hack a server, and you can get their actual IP. PM me it, and I'll take care of the rest. I'll do some checking on the area they live in, and if they live in the states, either try to see if it's an underage child doing this, or an adult. If an underage child, they could be facing juvenile detention for awhile and have a legal federal record that will follow them for their lifetime. If an adult, they could be facing harsher penalties.
perrinoia
Site Admin
Posts: 3732
Joined: Sun Jul 01, 2012 7:18 pm

Re: [script] get a list of some variables???

Post by perrinoia »

I can only see the first half of his IP.

There were no admins online, at least none doing anything about it.

I'm not even sure if Owner knows how to trace an IP, but I agree that server hosts should.
Image
User avatar
DaJ4ck3L
Crow{OZ}
Posts: 3375
Joined: Thu Jul 22, 2010 11:51 pm
Contact:

Re: [script] get a list of some variables???

Post by DaJ4ck3L »

yea morgoth also came into the community server and was throwing the flag oob.
Attachments
morgoth.jpg
Image
Groove
Posts: 218
Joined: Thu Apr 17, 2014 10:36 pm

Re: [script] get a list of some variables???

Post by Groove »

anyone know if the 'Not' console command doesn't work or how the syntax works? there are other ways to change vars but i saw this in the console documentation:

Code: Select all

inc variableName

        Evaluates the variable as an integer and sets it to
        that value plus one.

    not variableName

        Evaluates the variable as a boolean and sets it to the
        complement.

    return [intValue]

        Return from a script. The return value defaults to 0.
        Return values can be tested directly on the "if" conditional
        branch statement, or can be tested using the environment
        variable Console::Return. 
but trying it in console just seems to throw errors
perrinoia
Site Admin
Posts: 3732
Joined: Sun Jul 01, 2012 7:18 pm

Re: [script] get a list of some variables???

Post by perrinoia »

Not is not a console command, however not is the name of the following operator: !

For instance, echo(!true); will echo 0, AKA false, and echo(!false); will echo 1, aka true.

In fact, not 0 equals 1, but, not anything else (even negative numbers) equals 0.

However, you could make "not(%arg);" a console command by writing the function:

Code: Select all

function not(%arg){ return !%arg; }
Tribes script doesn't initialize variables the way that documentation describes... Perhaps the documentation belongs to the mem.nude.dll project, aka source code for plugins. They are written in C, I believe... Maybe C++.
Image
Groove
Posts: 218
Joined: Thu Apr 17, 2014 10:36 pm

Re: [script] get a list of some variables???

Post by Groove »

it's from 'console.txt' which im not sure where i got it from but i'm like 99% sure it's the darkstar devs notes about the console

http://pastebin.com/vNEYUPv2

could maybe be from an older version or there were changes to it for tribes i guess tho? there are other things that are mentioned in there that dont work either like 'history'

or as you were saying, they weren't talking about the word not, they meant the ! logical negation operator

tbh i never looked at the nude mem.dll stuff to make my plugins so i couldn't tell you what's in the documentation but c/c++ yeah even inline asm works
perrinoia
Site Admin
Posts: 3732
Joined: Sun Jul 01, 2012 7:18 pm

Re: [script] get a list of some variables???

Post by perrinoia »

The very first thing the file says is "coming soon", as in, back in a time when Dynamix was still developing Tribes, this was basically on their to do list.

Also, the examples in the document are pseudo-code... Merely meant to give you an idea of how things work. They are not practical examples.

Some of those things have been done, though... For instance, we have plugins and attachments/hooks now...
Image
Post Reply