Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-22-2008, 06:45 PM
bscharff bscharff is offline
Bloo
bscharff's Avatar
Join Date: Sep 2006
Location: San Antonio, Texas
Posts: 185
bscharff has a little shameless behaviour in the past
Send a message via AIM to bscharff Send a message via MSN to bscharff Send a message via Yahoo to bscharff
Styling errors.

Basically, when I script and don't feel like hand-styling it myself, I'll use RC's /style.

But there's two problems; the for () and @= don't style properly.

for () example:

BEFORE
PHP Code:
function onCreated(){
  for (
temp.foothis.foo){
    
doStuff(temp.foo);
  }

AFTER
PHP Code:
function onCreated(){
for (
temp.foothis.foo){
    
doStuff(temp.foo);
  }


@= example:

BEFORE
PHP Code:
function onCreated(){
  
temp.foo @= this.foo;

AFTER
PHP Code:
function onCreated(){
  
temp.foo @ = this.foo;

__________________
Trying to be nice now...
Reply With Quote
  #2  
Old 02-22-2008, 07:00 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Err, those can easily by using your backspace button once, and your tab button once..

Quote:
Originally Posted by bscharff View Post
when I script and don't feel like hand-styling it myself
no excuse really, if you ask me..


The only problem I see with this is the "@ =" because that gives an unexpected token error..
__________________
Reply With Quote
  #3  
Old 02-22-2008, 07:06 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Bloo, you never hand-style, what are you talking about? x.x
__________________
Reply With Quote
  #4  
Old 02-22-2008, 07:23 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
That's his point :/ Aahhh, hand-styling comes as an instinct when I code in anything.
Reply With Quote
  #5  
Old 02-22-2008, 07:44 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Codein View Post
Aahhh, hand-styling comes as an instinct when I code in anything.
same here.. :o
__________________
Reply With Quote
  #6  
Old 02-22-2008, 10:01 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Chompy View Post
same here.. :o
Yeah, once you start you never go back.
Kind of like switching to a Mac.
__________________
Reply With Quote
  #7  
Old 02-22-2008, 11:20 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
Quote:
Originally Posted by cbkbud View Post
Yeah, once you start you never go back.
Kind of like switching to a Mac.
Or maybe even:

openSUSE Linux ;D
Reply With Quote
  #8  
Old 02-23-2008, 12:56 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Well stop using /style and do it on your own like the big kids.
__________________
Reply With Quote
  #9  
Old 02-23-2008, 02:45 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by Inverness View Post
Well stop using /style and do it on your own like the big kids.
* Inverness casts spell of truth.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #10  
Old 02-23-2008, 03:08 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Inverness View Post
Well stop using /style and do it on your own like the big kids.
Tried to rep but already given you one recently apparently.....stupid rep system
Reply With Quote
  #11  
Old 02-26-2008, 04:38 AM
bscharff bscharff is offline
Bloo
bscharff's Avatar
Join Date: Sep 2006
Location: San Antonio, Texas
Posts: 185
bscharff has a little shameless behaviour in the past
Send a message via AIM to bscharff Send a message via MSN to bscharff Send a message via Yahoo to bscharff
Whoopee... I'm 14, I consider myself mentally like a "big kid," however much y'all wish to disagree about it.
I don't care at all how old y'all are. I don't go by the hierarchical age-respect level nonsense.

and Chris, I hand-style on small scripts, not larger ones.
__________________
Trying to be nice now...
Reply With Quote
  #12  
Old 02-26-2008, 06:26 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Quote:
Originally Posted by bscharff View Post
Whoopee... I'm 14, I consider myself mentally like a "big kid," however much y'all wish to disagree about it.
I don't care at all how old y'all are. I don't go by the hierarchical age-respect level nonsense.
Apparently you aren't familiar with metaphors, which leads me to believe that you are, in fact, not very old, as anyone 14 years old would know what a metaphor is.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote
  #13  
Old 02-26-2008, 03:35 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Ok fixed both "@=" and "for ( : )", will work fine with the next npcserver update.
Reply With Quote
  #14  
Old 02-26-2008, 10:55 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Stefan View Post
Ok fixed both "@=" and "for ( : )", will work fine with the next npcserver update.


Should have just made them learn to hand-style.

@Bloo: Why would you not style large scripts? It takes one push of the tab key ...

If you'd like to argue how nice your code is, I'll post your car script. I have permission from Ork, actually.
__________________
Reply With Quote
  #15  
Old 02-26-2008, 11:24 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by cbkbud View Post
If you'd like to argue how nice your code is, I'll post your car script. I have permission from Ork, actually.
BAM!
Reply With Quote
  #16  
Old 02-27-2008, 11:17 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by bscharff View Post
Whoopee... I'm 14, I consider myself mentally like a "big kid," however much y'all wish to disagree about it.
I don't care at all how old y'all are. I don't go by the hierarchical age-respect level nonsense.
When I said "big kids" I meant the experienced scripters who do their own styling so it matches their personal preference.
__________________
Reply With Quote
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 +2. The time now is 01:22 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.