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

Members Online

»
0 Active | 62 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
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, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
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 10: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 11: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 07: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 09: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 Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»