Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
1 Active | 14 Guests
Online:

LATEST FORUM THREADS

»
Single Player Loadout
CoDWW SP Mapping
Radio audio filter?
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access
Page
Previous Page
subscribe
Author Topic: mapping
Zachary75
General Member
Since: May 22, 2012
Posts: 5
Last: Jun 21, 2012
[view latest posts]
Level 0
Category: CoD2 Scripting
Posted: Tuesday, Jun. 19, 2012 03:36 pm
umm, what is a guid and how do i know what mine is?
Share |
IzNoGoD
General Member
Since: Nov 29, 2008
Posts: 694
Last: Nov 10, 2012
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Tuesday, Jun. 19, 2012 04:16 pm
Tally writes...
Quote:
IzNoGoD writes...
Quote:

Please, use strtok instead of issubstr().
Also, issubstr doesnt work on getguid(), as it is comparing numbers with a string.


No, not true. If you don't believe me, check out Openwarfare mod for COD4 _advancedacp.gsc where isSubStr() is used to check a Dvar containing admin GUIDs against self getGuid(). It works fine.


Aah yes, the issubstr() converts both inputs to string when called :)
Share |
liltc64
General Member
Since: Feb 12, 2007
Posts: 906
Last: Oct 22, 2012
[view latest posts]
Level 7
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Wednesday, Jun. 20, 2012 12:20 pm
Zachary75 writes...
Quote:
umm, what is a guid and how do i know what mine is?


couldnt tell yah how people are assigned their guids but its a number that every player gets and its different for everyone but your guid will always be yours. your guid can go to 0 though which means the cod master servers are down which can be bad when your trying to do things based on players guid number.
Share |
IzNoGoD
General Member
Since: Nov 29, 2008
Posts: 694
Last: Nov 10, 2012
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Wednesday, Jun. 20, 2012 02:18 pm
liltc64 writes...
Quote:
Zachary75 writes...
Quote:
umm, what is a guid and how do i know what mine is?


couldnt tell yah how people are assigned their guids but its a number that every player gets and its different for everyone but your guid will always be yours. your guid can go to 0 though which means the cod master servers are down which can be bad when your trying to do things based on players guid number.


guid also goes to zero when trying to connect to a local server (server computer==client computer) and when you are running a cracked server.
Share |
Restricted Access Restricted Access
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Why console gaming is dying
Quote:Consider this: Dedicated gaming sales — including living-room consoles...
Devs: Games are being dumb...
Click 'read more' to view the contents of this post.
Loadout
Gun Crafting to the Max. edited on Sep. 25, 2012 06:57 pm by Morp...
Introducing the Source Fil...
Surprised this wasn't made a long time ago. Sounds like a nice little feature.
Introducing the Source Fil...
The Source Filmmaker (SFM) is the movie-making tool built and used by us he...

Partners & Friends

»