Raised This Month: $32 Target: $400
 8% 

GeoCaching Mod


Post New Thread Reply   
 
Thread Tools Display Modes
Javivi
AlliedModders Donor
Join Date: Dec 2008
Old 01-16-2010 , 11:15   Re: GeoCaching Mod
Reply With Quote #11

There are some things that you can change:

set_user_rendering(id, blabla, 0,0,0,....)

to

set_user_rendering(id)


And

if(task_exist(1)) {
remove_task(1)
}

can be

if(task_exist(1))
remove_task(1)

and its more easy to read.


And also, ident your code.

Ex:

PHP Code:
blablabla
blablabla
blEblEblE
blEblEblE
blOblOblO
blOblOblO 
-->
PHP Code:
blablabla
blablabla

blEblEblE
blEblEblE

blOblOblO
blOblOblO 
GJ.
__________________
Javivi is offline
Edza
Member
Join Date: Jan 2010
Old 01-16-2010 , 11:18   Re: GeoCaching Mod
Reply With Quote #12

Quote:
Originally Posted by Javivi View Post
There are some things that you can change:

set_user_rendering(id, blabla, 0,0,0,....)

to

set_user_rendering(id)


And

if(task_exist(1)) {
remove_task(1)
}

can be

if(task_exist(1))
remove_task(1)

and its more easy to read.


And also, ident your code.

Ex:

PHP Code:
blablabla
blablabla
blEblEblE
blEblEblE
blOblOblO
blOblOblO 
-->
PHP Code:
blablabla
blablabla

blEblEblE
blEblEblE

blOblOblO
blOblOblO 
GJ.
You are right.

But this mod was SO painful that I became superstitious, there were all these bugs I couldn't explain so I always used the safest way to do something, I'm too afraid if I start changing something it will decide to turn on me...

It is well indented I spent like a whole day doing just that - going through the code and indenting, *sigh*. (maybe our standards of "well indented" differ)

Last edited by Edza; 01-16-2010 at 11:32.
Edza is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 01-16-2010 , 11:53   Re: GeoCaching Mod
Reply With Quote #13

Server IP don't work?
87.110.162.233 ?
Xalus is offline
Edza
Member
Join Date: Jan 2010
Old 01-16-2010 , 11:58   Re: GeoCaching Mod
Reply With Quote #14

Quote:
Originally Posted by Xalus View Post
Server IP don't work?
87.110.162.233 ?
That's the wrong server you are connecting to.
The one above that.

Good luck!

Last edited by Edza; 01-16-2010 at 17:36.
Edza is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 01-16-2010 , 12:00   Re: GeoCaching Mod
Reply With Quote #15

Thanks,
Lets test ;)

EDIT:

This server is using an older protocol ( 47 ) than your client ( 48 ). If you believe this server is outdated, you can contact the server administrator at (no email address specified)

What's that? xD
Xalus is offline
Edza
Member
Join Date: Jan 2010
Old 01-16-2010 , 12:03   Re: GeoCaching Mod
Reply With Quote #16

Quote:
Originally Posted by Xalus View Post
Thanks,
Lets test ;)

EDIT:

This server is using an older protocol ( 47 ) than your client ( 48 ). If you believe this server is outdated, you can contact the server administrator at (no email address specified)

What's that? xD
I have no idea, what version of CS are you running? I have v21 on the server, I guess I could put on something more new...

Last edited by Edza; 01-16-2010 at 12:06.
Edza is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 01-16-2010 , 12:11   Re: GeoCaching Mod
Reply With Quote #17

No-steam Detected ?
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 01-16-2010 , 12:13   Re: GeoCaching Mod
Reply With Quote #18

"what version of CS are you running?"

How to see that? xD

EDIT:

This?

] version
Protocol version 48
Exe version 1.1.2.6/2.0.772.381 (cstrike)
Exe build: 16:05:41 Jun 15 2009 (4554)
Xalus is offline
Edza
Member
Join Date: Jan 2010
Old 01-16-2010 , 12:17   Re: GeoCaching Mod
Reply With Quote #19

Well, the server has protocol 47, can't change that. Sorry.

Last edited by Edza; 01-16-2010 at 13:09.
Edza is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 01-16-2010 , 12:22   Re: GeoCaching Mod
Reply With Quote #20

yes
Xalus is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode