Results 1 to 13 of 13
  1. #1
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    839
    Reputation
    44
    Thanks
    400
    My Mood
    Twisted

    [DISCUSSION] Weaponspawner

    Hey guys =)
    I managed to hook the SendToServer function and can log IDs now. Its all working fine. I found the pickupweapon ID, but its so long :O
    Anyone knows the params of the function? Im logging atm just uint8...
    You think weaponspawner is really patched? - Or is it possible with S2S?

    Say what you think!

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    https://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    https://www.youtube.com/watch?v=Na2kUdu4d_k

  2. #2
    LilGho$t's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    419
    Reputation
    9
    Thanks
    330
    My Mood
    Twisted
    they can't just stop weapons from being on the map so i believe it has to be possible. it's all about tracking the id and figuring it out then simulating it.

  3. #3
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    839
    Reputation
    44
    Thanks
    400
    My Mood
    Twisted
    Yeah I got the id, but the param list is very long :O

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    https://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    https://www.youtube.com/watch?v=Na2kUdu4d_k

  4. #4
    R3dLine's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    783
    Reputation
    212
    Thanks
    1,462
    Will while logging i found like 5 - 8 addie for room crash / 5 - 6 Respawn / else more .. so i belive they moved the id ? OR they patched it completely :S
    Last edited by R3dLine; 07-02-2012 at 04:32 PM.

  5. #5
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    839
    Reputation
    44
    Thanks
    400
    My Mood
    Twisted
    Lol there is just 1 respawn xD
    U logged over 255?

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    https://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    https://www.youtube.com/watch?v=Na2kUdu4d_k

  6. #6
    Salamanta's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    77
    Reputation
    10
    Thanks
    5
    Hum...
    Incialitinng

  7. #7
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    North of Hell, South of Heaven
    Posts
    6,064
    Reputation
    323
    Thanks
    3,391
    My Mood
    Doh
    weapon spawner via s2s can still be done, i have a few methods i've never tested with new ID's

    Code:
    1.
    #define Weapon_Noise 128
    
     2.
    #define Weapon_Pickup 117
    
     3.
    #define Weapon_Switch 127
    
     4.
    #define backpack_Slot 118
    
    1.
    #define MID_PLAYER_CANCELREVIVE                 113
    
     2.
    #define MID_PLAYER_MOVEMENT                     100
    11.#define ID_Leave_Game           174
    Code:
    26.
    //ID: 127[48] 
    
    27.
    Msg.Writeuint8(Weapon_Switch); 
    
    28.
    Msg.Writeuint8(O); 
    
    29.
    Msg.Writeuint8(20); 
    
    30.
    Msg.Writeuint8(O); 
    
    31.
    Msg.Writeuint8(24); 
    
    32.
    Msg.Writeuint8(O); 
    
    33.
    pSendToServer(Msg.Read(), MESSAGE_GUARANTEED);
    Code:
    35.
    //ID: 118[24] 
    
    36.
    Msg.Writeuint8(Slot); 
    
    37.
    Msg.Writeuint8(1); 
    
    38.
    Msg.Writeuint8(1); // 1 is primary slot, 2 pistol, 3 knife, 4 nades, 5 special
    
     39.
    pSendToServer(Msg.Read(), MESSAGE_GUARANTEED);
    the amount of work its going to take to make weapon spawner though via S2S is NOT worth the time

    look into CreateObject. its like a debug hack if you know what your doing. You can spawn ANYTHING if you have create object. Spawn NPC in a non-fireteam game, spawn weapons, characerts at random
    Last edited by supercarz1991; 07-02-2012 at 06:58 PM.

    commando: You're probably the best non-coder coder I know LOL


  8. The Following 3 Users Say Thank You to supercarz1991 For This Useful Post:

    Ch40zz-C0d3r (07-03-2012),pDevice (07-03-2012),R3dLine (07-03-2012)

  9. #8
    R3dLine's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    783
    Reputation
    212
    Thanks
    1,462
    Quote Originally Posted by Ch40zz-C0d3r View Post
    Lol there is just 1 respawn xD
    U logged over 255?
    Go ahead try Logged ID : [ 369 ] //Respawn

  10. #9
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    839
    Reputation
    44
    Thanks
    400
    My Mood
    Twisted
    Try substract 256, and now think why you had so many

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    https://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    https://www.youtube.com/watch?v=Na2kUdu4d_k

  11. #10
    PikaMucha_Itu's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Itu City
    Posts
    2,394
    Reputation
    59
    Thanks
    4,098
    My Mood
    Goofy
    because you never tested?

  12. #11
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    839
    Reputation
    44
    Thanks
    400
    My Mood
    Twisted
    -_- When you substract 256 from 369 you'll get 113 which is actually the respawn ID.
    Its the same... They just start from 1 over 255!

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    https://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    https://www.youtube.com/watch?v=Na2kUdu4d_k

  13. #12
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    839
    Reputation
    44
    Thanks
    400
    My Mood
    Twisted
    Hm I think it will be just visual for ME, but They can hurt me! @supercarz1991
    I got it working, I can spawn shitz xD
    But how can I spawn a WORKING weapon?
    I mean, the things I spawn dotn have a function, they just fly arround in the world xD
    Last edited by Ch40zz-C0d3r; 07-03-2012 at 11:05 AM.

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    https://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    https://www.youtube.com/watch?v=Na2kUdu4d_k

  14. #13
    supercarz1991's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    North of Hell, South of Heaven
    Posts
    6,064
    Reputation
    323
    Thanks
    3,391
    My Mood
    Doh
    Quote Originally Posted by Ch40zz-C0d3r View Post
    Hm I think it will be just visual for ME, but They can hurt me! @supercarz1991
    I got it working, I can spawn shitz xD
    But how can I spawn a WORKING weapon?
    I mean, the things I spawn dotn have a function, they just fly arround in the world xD
    add me on msn, i'll try to help you out cuz we both have our theories. I actually made weapon spawn via create object just to prove a point for my private server

    msn: Dcomicboyforever@live.com

    commando: You're probably the best non-coder coder I know LOL


Similar Threads

  1. Discuss COD4 Missions,guns, multi. etc.
    By somethingwitty in forum Call of Duty 4 - Modern Warfare (MW) Hacks
    Replies: 2
    Last Post: 10-14-2008, 06:46 AM
  2. WarRock Mod Applications[DISCUSSION]
    By BPK in forum General
    Replies: 16
    Last Post: 12-22-2007, 07:25 PM
  3. 100K Post Discussion Thread
    By arunforce in forum General
    Replies: 26
    Last Post: 07-18-2007, 01:26 AM
  4. Signature of the Week #3 Discussion
    By Bull3t in forum Art & Graphic Design
    Replies: 13
    Last Post: 07-19-2006, 09:41 AM
  5. Signature of the Week #2 Discussion
    By Bull3t in forum Art & Graphic Design
    Replies: 8
    Last Post: 07-11-2006, 09:03 AM