Class list

Discussion in 'Support' started by -=GODS=-EZEKIEL, Jan 14, 2009.

  1. -=GODS=-EZEKIEL

    -=GODS=-EZEKIEL Member

    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    0
    If possible, could I have the list of all the class names in this mod?

    I'm scripting a teamwork server script for my server and I specifically need to know the classes associated with squads.
     
  2. Metal Smith

    Metal Smith Member

    Messages:
    4,520
    Likes Received:
    3
    Trophy Points:
    0
  3. -=GODS=-EZEKIEL

    -=GODS=-EZEKIEL Member

    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    0
    the list they give is not formatted. I cannot tell class from members. what class is m_iSquad under?
     
  4. Metal Smith

    Metal Smith Member

    Messages:
    4,520
    Likes Received:
    3
    Trophy Points:
    0
    Judging by the fact that Theowningone wrote all of those in, designed his own plugins and created tools to help find such things, it's possible PMing him may get you more results.

    At any rate, he's the only person that has created any source mod plugins specifically for empires, at least that I know of.
     
  5. Theowningone

    Theowningone Noone likes me :'(

    Messages:
    704
    Likes Received:
    0
    Trophy Points:
    0
    PMing not necessary, Are you doing it with sourcemod? i can help more than you'll ever expect then.

    EDIT: if you are using sourcemod, i'll hurry up work on my API, it simplifies 80% of things by replacing large amounts of semi-difficult code with a simple function instead.
     
    Last edited: Jan 15, 2009
  6. -=GODS=-EZEKIEL

    -=GODS=-EZEKIEL Member

    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    0
    "CPlayerResource.m_iPing.000" "0"
    "CPlayerResource.m_iPing.001" "47"
    "CPlayerResource.m_iPing.002" "0"
    "CPlayerResource.m_iPing.003" "0"
    "CPlayerResource.m_iPing.004" "0"
    "CPlayerResource.m_iPing.005" "0"
    "CPlayerResource.m_iPing.006" "0"
    "CPlayerResource.m_iPing.007" "0"
    "CPlayerResource.m_iPing.008" "0"
    "CPlayerResource.m_iPing.009" "0"
    "CPlayerResource.m_iPing.010" "0"
    "CPlayerResource.m_iPing.011" "0"
    "CPlayerResource.m_iPing.012" "0"
    "CPlayerResource.m_iPing.013" "0"
    "CPlayerResource.m_iPing.014" "0"
    "CPlayerResource.m_iPing.015" "0"
    "CPlayerResource.m_iPing.016" "0"
    "CPlayerResource.m_iPing.017" "0"
    "CPlayerResource.m_iPing.018" "0"
    "CPlayerResource.m_iPing.019" "0"
    "CPlayerResource.m_iPing.020" "0"
    "CPlayerResource.m_iPing.021" "0"
    "CPlayerResource.m_iPing.022" "0"
    "CPlayerResource.m_iPing.023" "0"
    "CPlayerResource.m_iPing.024" "0"
    "CPlayerResource.m_iPing.025" "0"
    "CPlayerResource.m_iPing.026" "0"
    "CPlayerResource.m_iPing.027" "0"
    "CPlayerResource.m_iPing.028" "0"
    "CPlayerResource.m_iPing.029" "0"
    "CPlayerResource.m_iPing.030" "0"
    "CPlayerResource.m_iPing.031" "0"
    "CPlayerResource.m_iPing.032" "0"
    "CPlayerResource.m_iPing.033" "0"
    "CPlayerResource.m_iPing.034" "0"
    "CPlayerResource.m_iPing.035" "0"
    "CPlayerResource.m_iPing.036" "0"
    "CPlayerResource.m_iPing.037" "0"
    "CPlayerResource.m_iPing.038" "0"
    "CPlayerResource.m_iPing.039" "0"
    "CPlayerResource.m_iPing.040" "0"
    "CPlayerResource.m_iPing.041" "0"
    "CPlayerResource.m_iPing.042" "0"
    "CPlayerResource.m_iPing.043" "0"
    "CPlayerResource.m_iPing.044" "0"
    "CPlayerResource.m_iPing.045" "0"
    "CPlayerResource.m_iPing.046" "0"
    "CPlayerResource.m_iPing.047" "0"
    "CPlayerResource.m_iPing.048" "0"

    im coding with eventscripts
    the numbers 1-48 represent slots. how do i find out which slot belongs to which player?
     
  7. Theowningone

    Theowningone Noone likes me :'(

    Messages:
    704
    Likes Received:
    0
    Trophy Points:
    0
    they are the client entity index, in sourcemod, when a someone runs a command, it returns their index and you can later get their name from it and many other things.

    Im not quite sure how coding for ES works but this stuff should be similar.

    Some useful classes i would look at are:

    • CSDKPlayer
    • CEmpTank
    • CEmpTankCannon
    • CEmpTankTurret
    • CPlayerResource
    • CPlayerResource_NF
    • CPlayerResource_IMP
    • CResearchResource

    Those ones should be more than enough to get you on your way.

    Note:CPlayerResource Offsets are only whats being sent to the clients hud, modifying these will only change the scoreboard but nothing else.
     
    Last edited: Jan 15, 2009
  8. -=GODS=-EZEKIEL

    -=GODS=-EZEKIEL Member

    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    0
    AWESOME HELP MAN. i need to get ur xfire so we can work together.
     
  9. Theowningone

    Theowningone Noone likes me :'(

    Messages:
    704
    Likes Received:
    0
    Trophy Points:
    0
    I dont really use xfire but i do have it. You can reach me @:

    xfire: theowningone (Seldom Used)
    skype: theowningone (Seldom Used)
    MSN: theowningone[at]hotmail[dot]com (Moderatly Used)
    Yahoo: theowningone[at]yahoo[dot]com (Seldom Used)
    Steam: Theowningone
    Email: theowningone[at]hotmail[dot]com (Seldom Used)
    Email: theowningone[at]yahoo[dot]com (Seldom Used)
    Email: admin[at]theowningone[dot]info
    Email: theowningone[at]gmail[dot]com
    IRC: #empiresmod @ Gamesurge
    IRC: Anywhere on Borgamers IRC

    I have many a method of contact, pick what suites you best.
     
  10. -=GODS=-EZEKIEL

    -=GODS=-EZEKIEL Member

    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    0
    CPlayerResource.m_iSquad.001

    how do i find out what squad a player is in? this gives me some wierd #
     
  11. Theowningone

    Theowningone Noone likes me :'(

    Messages:
    704
    Likes Received:
    0
    Trophy Points:
    0
    more indexes, i'll update the wiki with that info right now.
    EDIT: Wiki updated!
     
    Last edited: Jan 15, 2009
  12. -=GODS=-EZEKIEL

    -=GODS=-EZEKIEL Member

    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    0
    what is the entity name for a rocket in flight?
     

Share This Page