Invisible script bug
Moderator: Core Staff
-
- Core Staff
- Posts: 2155
- Joined: December 7th, 2004, 2:07 am
- Location: Netherlands
- Contact:
Re: Invisible script bug
Thx all ! It's working now.
I used the last script with the first wait added (without it it doesn't work).
Now I hope the server doesn't crash anymore
I used the last script with the first wait added (without it it doesn't work).
Now I hope the server doesn't crash anymore
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Invisible script bug
Finally
To further improve on this, I personally would add some form of full screen border effect (similar to the 'pain screen') in a semi-transparent white, because currently you only have the message.
To further improve on this, I personally would add some form of full screen border effect (similar to the 'pain screen') in a semi-transparent white, because currently you only have the message.
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
- Core Staff
- Posts: 2155
- Joined: December 7th, 2004, 2:07 am
- Location: Netherlands
- Contact:
Re: Invisible script bug
That would be cool, I'll see if I can make that somehow.Drofder2004 wrote:Finally
To further improve on this, I personally would add some form of full screen border effect (similar to the 'pain screen') in a semi-transparent white, because currently you only have the message.
-
- Core Staff
- Posts: 2155
- Joined: December 7th, 2004, 2:07 am
- Location: Netherlands
- Contact:
Re: Invisible script bug
FYI
We ran the map 2 times for 20 minutes and it didn't crash the server so i think it's safe to say it works.
Thx guys
We ran the map 2 times for 20 minutes and it didn't crash the server so i think it's safe to say it works.
Thx guys
-
- Core Staff
- Posts: 2030
- Joined: July 24th, 2006, 11:21 am
- Location: Cramped in a small cubicle/making another jump map
Re: Invisible script bug
\o/
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Invisible script bug
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
- Core Staff
- Posts: 2030
- Joined: July 24th, 2006, 11:21 am
- Location: Cramped in a small cubicle/making another jump map
Re: Invisible script bug
Can you edit the colors? The dark blue for keywords(C++) looks rubbish with our current code color scheme.
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.
Re: Invisible script bug
Too many colors.
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Invisible script bug
For CoD Script:
(Colours have NOT been done yet)
(Colours have NOT been done yet)
Code: Select all
$language_data = array (
'LANG_NAME' => 'c',
'COMMENT_SINGLE' => '//',
'COMMENT_MULTI' => array('/*' => '*/'),
'COMMENT_REGEXP' => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => '"',
'ESCAPE_CHAR' => '',
'ESCAPE_REGEXP' => '',
'NUMBERS' =>
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
GESHI_NUMBER_FLT_NONSCI_F | GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
'KEYWORDS' => array(
1 => array(
'if', 'return', 'while', 'case', 'continue', 'default', 'else', 'for', 'switch', 'break', 'wait'
),
2 => array(
'undefined', 'false', 'true', 'thread', 'waittill', 'game', 'include', 'level', 'self', 'notify', 'endon'
),
3 => array(
//AI
'aimatpos', 'allowedstances', 'animcustom', 'animmode', 'beginprediction', 'canattackenemynode', 'cansee', 'canshoot',
'canuseturret', 'checkgrenadelaunch', 'checkgrenadelaunchpos', 'checkgrenadethrow', 'checkgrenadethrowpos',
'checkprone', 'clearenemy', 'clearentitytarget', 'clearfixednodesafevolume', 'cleargoalvolume', 'clearpitchorient', 'clearAllCorpses',
'clearpotentialthreat', 'connectpaths', 'disconnectpaths', 'dropweapon', 'dumphistory', 'endprediction', 'enterprone', 'exitprone',
'findbestcovernode', 'findcovernode', 'findreacquiredirectpath', 'findreacquirenode', 'findreacquireproximatepath',
'firegrenadelauncher', 'flagenemyunattackable', 'getanglestolikelyenemypath', 'getcovernode', 'getfixednodesafevolume',
'getflashbangedstrength', 'getgoalvolume', 'getgroundenttype', 'gethitenttype', 'gethityaw', 'getmotionangle', 'getnegotiationendnode',
'getnegotiationstartnode', 'getreacquirenode', 'getturret', 'isdeflected', 'isingoal', 'isknownenemyinradius', 'isknownenemyinvolume',
'ismovesuppressed', 'isnodeoccupied', 'ispathdirect', 'isstanceallowed', 'issuppressed', 'issuppressionwaiting', 'isturretactive',
'lerpposition', 'makefakeai', 'maymovefrompointtopoint', 'maymovetopoint', 'melee', 'nearnode', 'orientmode', 'pickupgrenade',
'predictanims', 'predictoriginandangles', 'pushplayer', 'reacquiremove', 'reacquirestep', 'setaimanims', 'setengagementmaxdist',
'setengagementmindist', 'setentitytarget', 'setfixednodesafevolume', 'setflashbanged', 'setflashbangimmunity', 'setfriendlychain',
'setgoalentity', 'setgoalentity', 'setgoalnode', 'setgoalpos', 'setgoalvolume', 'setlookat', 'setlookatanimnodes', 'setlookatyawlimits',
'setnodepriority', 'setpotentialthreat', 'setproneanimnodes', 'setruntopos', 'settalktospecies', 'setturretanim', 'setturretnode',
'shoot', 'shootblank', 'startcoverarrival', 'startscriptedanim', 'starttraversearrival', 'stoplookat', 'stopuseturret', 'teleport',
'throwgrenade', 'trackscriptstate', 'traversemode', 'trimpathtoattack', 'unsetturretnode', 'updateplayersightaccuracy', 'updateprone',
'usecovernode', 'usereacquirenode', 'useturret', 'withinapproxpathdist',
//Animation
'animhasnotetrack', 'animrelative', 'animscripted', 'clearanim', 'dumpanims', 'getangledelta', 'getanimassettype', 'getanimlength',
'getanimtime', 'getcycleoriginoffset', 'getmovedelta', 'getnotetracktimes', 'getnumparts', 'getpartname', 'getstartangles',
'getstartorigin', 'gettagangles', 'gettagorigin', 'setanim', 'setanimknob', 'setanimknoball', 'setanimknoballlimited',
'setanimknoballlimitedrestart', 'setanimknoballrestart', 'setanimknoblimited', 'setanimknoblimitedrestart', 'setanimknobrestart',
'setanimlimited', 'setanimlimitedrestart', 'setanimrestart', 'setanimtime', 'setflaggedanim', 'setflaggedanimknob',
'setflaggedanimknoball', 'setflaggedanimknoballrestart', 'setflaggedanimknoblimited', 'setflaggedanimknoblimitedrestart',
'setflaggedanimknobrestart', 'setflaggedanimlimited', 'setflaggedanimlimitedrestart', 'setflaggedanimrestart', 'stopanimscripted',
'stopuseanimtree', 'useanimtree',
//BadPlaces
'badplace_arc', 'badplace_brush', 'badplace_cylinder', 'badplace_delete',
//Clans
'getclanid', 'getclanname',
//Client
'allclientsprint', 'allowspectateteam', 'announcement', 'ban', 'beginlocationselection', 'clientAnnouncement', 'clientprint',
'cloneplayer', 'disableweapons', 'dropitem', 'enableweapons', 'endlocationselection', 'forceviewmodelanimation', 'getviewmodel',
'isMantling', 'isOnLadder', 'isplayernumber', 'isragdoll', 'istalking', 'kick', 'makeDvarServerInfo', 'nightvisionforceoff',
'sayAll', 'sayTeam', 'setRank', 'setSpawnWeapon', 'setteamfortrigger', 'showscoreboard', 'startragdoll', 'suicide', 'updatedmscores',
'updatescores',
//Control
'getcommandfromkey', 'getkeybinding',
//Damage
'finishplayerdamage', 'radiusdamage', 'setcandamage', 'setplayerignoreradiusdamage',
//Debug
'addtestclient', 'assert', 'assertex', 'assertmsg', 'createprintchannel', 'getdebugeye', 'iPrintln', 'iPrintlnbold', 'line', 'print',
'print3d', 'println', 'setdebugangles', 'setdebugorigin', 'setprintchannel',
//Dvars
'getdebugdvar', 'getdebugdvarfloat', 'getdebugdvarint', 'getdvar', 'getdvarfloat', 'getdvarint', 'setdvar', 'setsaveddvar',
//Effects
'getfxvisibility', 'loadfx', 'playfx', 'playfxontag', 'playloopedfx', 'setblur', 'setexpfog', 'spawnfx', 'triggerfx', 'visionsetnaked', 'visionsetnight',
//Entity
'addaieventlistener', 'attach', 'delete', 'detach', 'detachall', 'detonate', 'disableAimAssist', 'dodamage', 'dontInterpolate',
'enableAimAssist', 'enablelinkto', 'entityradiusdamage', 'getattachignorecollision', 'getattachmodelname', 'getattachsize',
'getattachtagname', 'getcentroid', 'getent', 'getentarray', 'getentbynum', 'getentitynumber', 'getentnum', 'getlightcolor',
'getlightexponent', 'getlightfovinner', 'getlightfovouter', 'getlightintensity', 'getlightradius', 'getnormalhealth',
'getorigin', 'getshootatpos', 'hide', 'hidepart', 'istouching', 'laseroff', 'laseron', 'launch', 'linkto', 'localtoworldcoords',
'locklightvis', 'removeaieventlistener', 'setcontents', 'setcursorhint', 'sethintstring', 'setlightcolor', 'setlightexponent',
'setlightfovrange', 'setlightintensity', 'setlightradius', 'setlookattext', 'setmodel', 'setnormalhealth', 'setshadowhint',
'setstablemissile', 'show', 'showallparts', 'showpart', 'showtoplayer', 'startignoringspotlight', 'stopignoringspotlight',
'unlink', 'unlocklightvis', 'useby', 'usetriggerrequirelookat',
//File
'closefile', 'fgetarg', 'fprintfields', 'fprintln', 'freadln', 'openfile',
//HUD
'changefontscaleovertime', 'clearalltextafterhudelem', 'cleartargetent', 'destroy', 'fadeovertime', 'moveovertime', 'newclienthudelem',
'newhudelem', 'newteamhudelem', 'obituary', 'reset', 'scaleovertime', 'setclock', 'setclockup', 'setgametypestring', 'setmapnamestring',
'setplayernamestring', 'setpulsefx', 'setshader', 'settargetent', 'settenthstimer', 'settenthstimerup', 'settext', 'settimer', 'settimerup',
'setvalue', 'setwaypoint',
//Level
'changelevel', 'cinematic', 'cinematicingame', 'cinematicingameloop', 'cinematicingameloopfromfastfile', 'cinematicingameloopresident',
'cinematicingamesync', 'clearlocalizedstrings', 'drawcompassfriendlies', 'earthquake', 'exitlevel', 'getallnodes', 'getallvehiclenodes',
'getarraykeys', 'getbrushmodelcenter', 'getdiffuculty', 'getmapsundirection', 'getmapsunlight', 'getnode', 'getnodearray', 'getnorthyaw',
'getnumvehicles', 'getreflectionlocs', 'getstarttime', 'gettime', 'gettimescale', 'getvehiclenode', 'getvehiclenodearray', 'iscinematicplaying',
'issplitscreen', 'isvalidgametype', 'lerpsundirection', 'map', 'map_restart', 'mapexists', 'missionfailed', 'missionsuccess', 'resetsundirection',
'resetsunlight', 'setclientnamemode', 'setculldist', 'setgameendtime', 'setmapcenter', 'setminimap', 'setmissiondvar', 'setsundirection',
'setsunlight', 'settimescale', 'setvotenocount', 'setvotestring', 'setvotetime', 'setvoteyescount', 'setwinningplayer', 'setwinningteam',
'stopcinematicingame', 'updateclientnames', 'worldentnumber',
//Math
'acos', 'asin', 'atan', 'cos', 'pointonsegmentnearesttopoint', 'randomfloat', 'randomfloatrange',
'randomint', 'randomintrange', 'sin', 'tan', 'vectorfromlinetopoint',
//Menu
'closeingamemenu',
//Missile
'missile_createattractorent', 'missile_createattractororigin', 'missile_createrepulsorent', 'missile_createrepulsororigin', 'missile_deleteattractor',
//Motion
'devaddpitch', 'devaddroll', 'devaddyaw', 'movegravity', 'moveto', 'movex', 'movey', 'movez', 'notsolid', 'physicslaunch', 'rotatepitch', 'rotateroll',
'rotateto', 'rotatevelocity', 'rotateyaw', 'solid', 'vibrate',
//Objective
'objective_add', 'objective_additionalcurrent', 'objective_additionalposition', 'objective_current', 'objective_delete', 'objective_icon', 'objective_onentity',
'objective_position', 'objective_ring', 'objective_state', 'objective_string', 'objective_string_nomessage', 'objective_team', 'pingplayer', 'refreshhudammocounter',
'refreshhudcompass', 'target_clearreticlelockon', 'target_getarray', 'target_isincircle', 'target_isinrect', 'target_istarget', 'target_remove', 'target_set',
'target_setattackmode', 'target_setjavelinonly', 'target_setoffscreenshader', 'target_setshader', 'target_startreticlelockon',
//Physics
'physicsexplosioncylinder', 'physicsexplosionsphere', 'physicsjitter', 'physicsjolt', 'setphysicsgravitydir',
//Player
'adsbuttonpressed', 'allowads', 'allowcrouch', 'allowjump', 'allowlean', 'allowmelee', 'allowprone', 'allowsprint', 'allowstand', 'anyammoforweaponmodes',
'attackbuttonpressed', 'buttonpressed', 'clearperks', 'closemenu', 'deactivatechannelvolumes', 'deactivateeq', 'deactivatereverb', 'disableinvulnerability',
'disableturretdismount', 'enablehealthshield', 'enableinvulnerability', 'enableturretdismount', 'fragbuttonpressed', 'freezecontrols', 'freezecontrols',
'getcurrentoffhand', 'getcurrentweapon', 'getcurrentweaponclipammo', 'getfractionmaxammo', 'getfractionstartammo', 'getnormalizedmovement',
'getoffhandsecondaryclass', 'getplayerangles', 'getplayerviewheight', 'getstance', 'getvelocity', 'getweaponammoclip', 'getweaponammostock', 'getweaponslist',
'getweaponslistprimaries', 'givemaxammo', 'givestartammo', 'giveweapon', 'hasperk', 'hasweapon', 'hideviewmodel', 'isfiring', 'islookingat', 'ismeleeing',
'isonground', 'isthrowinggrenade', 'meleebuttonpressed', 'notifyoncommand', 'openmenu', 'openmenunomouse', 'playerads', 'playerlinkto', 'playerlinktoabsolute',
'playerlinktodelta', 'playersetgroundreferenceent', 'playlocalsound', 'resetspreadoverride', 'secondaryoffhandbuttonpressed', 'setactionslot',
'setautopickup', 'setchannelvolumes', 'setclientdvar', 'setclientdvars', 'setdepthoffield', 'seteq', 'seteqlerp', 'setmovespeedscale',
'setoffhandsecondaryclass', 'setorigin', 'setperk', 'setplayerangles', 'setreverb', 'setspreadoverride', 'setstance', 'setvelocity', 'setviewmodel',
'setviewmodeldepthoffield', 'setweaponammoclip', 'setweaponammostock', 'shellshock', 'showviewmodel', 'stoplocalsound', 'stopshellshock', 'switchtooffhand',
'switchtoweapon', 'takeallweapons', 'takeweapon', 'unsetperk', 'uploadscore', 'uploadtime', 'usebuttonpressed', 'viewkick', 'weaponlockfinalize',
'weaponlockfree', 'weaponlocknoclearance', 'weaponlockstart', 'weaponlocktargettooclose',
//Precache
'precacheheadicon', 'precacheitem', 'precachelocationselector', 'precachemenu', 'precachemodel', 'precachenightvisioncodeassets', 'precacherumble', 'precacheshader',
'precacheshellshock', 'precachestatusicon', 'precachestring', 'precacheturret', 'precachevehicle', 'scr_tablelookupistring', 'tablelookup',
//Rumble
'playrumblelooponentity', 'playrumblelooponposition', 'playrumbleonentity', 'playrumbleonposition', 'stopallrumbles', 'stoprumble',
//Save
'commitsave', 'issaverecentlyloaded', 'issavesuccessful', 'savegame', 'savegamenocommit',
//Sentient
'createthreatbiasgroup', 'getaiarray', 'getaispeciesarray', 'getclosestenemysqdist', 'getenemysqdist', 'geteye', 'getthreatbias', 'getthreatbiasgroup',
'isai', 'isalive', 'isgodmode', 'isplayer', 'issentient', 'setignoremegroup', 'setthreatbias', 'setthreatbiasagainstall', 'setthreatbiasgroup',
'threatbiasgroupexists',
//Sound
'ambientplay', 'ambientstop', 'amplify', 'amplifystop', 'eqoff', 'eqon', 'haseq', 'iswaitingonsound', 'musicplay', 'musicstop', 'playloopsound',
'playsound', 'playsoundasmaster', 'playsoundtoplayer', 'playsoundtoteam', 'setsoundblend', 'soundexists', 'soundfade', 'stoploopsound', 'stopsounds',
//Spawn
'canspawnturret', 'dospawn', 'getspawnerarray', 'getspawnerteamarray', 'placespawnpoint', 'positionwouldtelefrag', 'setspawnerteam', 'spawn', 'spawnstruct',
'spawnturret', 'spawnvehicle', 'stalingradspawn',
//String
'getsubstr', 'issubstr', 'strtok', 'tolower',
//System
'logprint', 'resettimeout', 'setarchive', 'updategamerprofile', 'logString', 'isDefined', 'endGame',
//Teams
'getassignedteam', 'getteamplayersalive', 'getteamradar', 'getteamscore', 'setteamradar', 'setteamscore',
//Trace
'bullettrace', 'bullettracepassed', 'damageconetrace', 'physicstrace', 'playerphysicstrace', 'sightconetrace', 'sighttracepassed',
//Trigger
'clientclaimtrigger', 'clientreleasetrigger', 'releaseclaimedtrigger',
//Turret
'cleartargetentity', 'getturretowner', 'getturrettarget', 'isfiringturret', 'maketurretunusable', 'maketurretusable', 'restoredefaultdroppitch',
'setaispread', 'setbottomarc', 'setconvergencetime', 'setdefaultdroppitch', 'setleftarc', 'setmode', 'setplayerspread', 'setrightarc', 'setsuppressiontime',
'settargetentity', 'settoparc', 'setturretignoregoals', 'setturretteam', 'shootturret', 'startfiring', 'stopfiring', 'turretfiredisable', 'turretfireenable',
//Variables
'isarray', 'isdefined', 'isstring',
//Vector
'anglestoforward', 'anglestoright', 'anglestoup', 'closer', 'combineangles', 'distance', 'distance2d', 'distancesquared', 'length', 'lengthsquared',
'vectordot', 'vectorlerp', 'vectornormalize', 'vectortoangles',
//Vehicles
'addvehicletocompass', 'attachpath', 'cleargoalyaw', 'clearlookatent', 'cleartargetyaw', 'clearturrettarget', 'fireweapon', 'freevehicle', 'getattachpos',
'getenginevolume', 'getgoalspeedmph', 'getspeed', 'getspeedmph', 'getvehicleowner', 'getwheelsurface', 'isturretready', 'joltbody', 'makevehicleunusable',
'makevehicleusable', 'removevehiclefromcompass', 'resumespeed', 'returnplayercontrol', 'setacceleration', 'setairresistance', 'setdeceleration',
'setenginevolume', 'setgoalyaw', 'sethoverparams', 'setjitterparams', 'setlookatent', 'setmaxpitchroll', 'setneargoalnotifydist', 'setspeed',
'setspeedimmediate', 'setswitchnode', 'settargetyaw', 'setturningability', 'setturrettargetent', 'setturrettargetvec', 'setvehgoalpos',
'setvehiclelookattext', 'setvehicleteam', 'setvehweapon', 'setwaitnode', 'setwaitspeed', 'setyawspeed', 'startenginesound', 'startpath', 'stopenginesound',
'vehforcematerialspeed',
//Weapons
'bulletspread', 'bullettracer', 'disablegrenadetouchdamage', 'enablegrenadetouchdamage', 'getammocount', 'getweaponclipmodel', 'getweaponmodel',
'isweaponcliponly', 'isweapondetonationtimed', 'itemweaponsetammo', 'magicbullet', 'magicgrenade', 'magicgrenademanual', 'missile_settarget',
'weaponaltweaponname', 'weaponclass', 'weaponclipsize', 'weaponfightdist', 'weaponfiretime', 'weaponinventorytype', 'weaponisboltaction', 'weaponissemiauto',
'weaponmaxammo', 'weaponmaxdist', 'weaponstartammo', 'weapontype'
),
4 => array(
'float', 'int', 'long', 'struct',
),
),
'SYMBOLS' => array(
'(', ')', '{', '}', '[', ']',
'+', '-', '*', '/', '%',
'=', '<', '>',
'!', '^', '&', '|',
'?', ':',
';', ','
),
'CASE_SENSITIVE' => false,
'STYLES' => array(
'KEYWORDS' => array(
1 => 'color: #b1b100;',
2 => 'color: #000000; font-weight: bold;',
3 => 'color: #000066;',
4 => 'color: #993333;'
),
'COMMENTS' => array(
1 => 'color: #666666; font-style: italic;',
'MULTI' => 'color: #808080; font-style: italic;'
),
'ESCAPE_CHAR' => '',
'BRACKETS' => array(
0 => 'color: #009900;'
),
'STRINGS' => array(
0 => 'color: #ff0000;'
),
'NUMBERS' => array(
0 => 'color: #0000dd;',
GESHI_NUMBER_BIN_PREFIX_0B => 'color: #208080;',
GESHI_NUMBER_OCT_PREFIX => 'color: #208080;',
GESHI_NUMBER_HEX_PREFIX => 'color: #208080;',
GESHI_NUMBER_FLT_SCI_SHORT => 'color:#800080;',
GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;',
GESHI_NUMBER_FLT_NONSCI_F => 'color:#800080;',
GESHI_NUMBER_FLT_NONSCI => 'color:#800080;'
),
'METHODS' => array(
1 => 'color: #202020;',
2 => 'color: #202020;'
),
'SYMBOLS' => array(
0 => 'color: #339933;'
),
'REGEXPS' => array(
),
'SCRIPT' => array(
),
),
'URLS' => array(
1 => '',
2 => '',
3 => '',
4 => ''
),
'OOLANG' => true,
'OBJECT_SPLITTERS' => array(
1 => '.',
2 => '::'
),
'REGEXPS' => array(
),
'STRICT_MODE_APPLIES' => GESHI_NEVER,
'SCRIPT_DELIMITERS' => array(
),
'HIGHLIGHT_STRICT_BLOCK' => array(
),
'TAB_WIDTH' => 4
);
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Invisible script bug
Testing!
Code: Select all
#include TESTING
// Comment Line
/* Comment Block */
Â
main()
{
Â
    self function();
    thread function();
   Â
    level endon("something");
    level notify("something");
    level waittill("Something");
   Â
    callback::function();
   Â
    game["variable"].array;
   Â
    if( x > y )
    {
        return true;
    }
    else if ((( z + x - y * a / b ) % 1) == false )
    {
        continue;
    }
    else
    {
        break;
    }
   Â
    int(i);
    float(b);
   Â
    if(!isDefined(self.variable) != undefined)
        wait 10;
       Â
    switch(something)
    {
        case "case":
            break;
        case 9:
            break;
        default:
            iprintln("test");
    }
}
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
- Core Staff
- Posts: 2030
- Joined: July 24th, 2006, 11:21 am
- Location: Cramped in a small cubicle/making another jump map
Re: Invisible script bug
Awesome! A few suggestions:
- Comment lines and blocks should be colored the same. Looks better.
- Operators should be colored differently, or at least use a lighter red, this one really makes it hard to read code.
Other than that, it's pretty!
- Comment lines and blocks should be colored the same. Looks better.
- Operators should be colored differently, or at least use a lighter red, this one really makes it hard to read code.
Other than that, it's pretty!
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Invisible script bug
Commenting lines is simply not working. Don't know why, it is a direct steal from C++Rezil wrote:Awesome! A few suggestions:
- Comment lines and blocks should be colored the same. Looks better.
- Operators should be colored differently, or at least use a lighter red, this one really makes it hard to read code.
Other than that, it's pretty!
And yes, the red is too bright on this dark background.
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
- Core Staff
- Posts: 2155
- Joined: December 7th, 2004, 2:07 am
- Location: Netherlands
- Contact:
Re: Invisible script bug
Looks very nice ! And better readable.
-
- Core Staff
- Posts: 2155
- Joined: December 7th, 2004, 2:07 am
- Location: Netherlands
- Contact:
Re: Invisible script bug
By the way.
I've got that invisible overlay working;
I've got that invisible overlay working;
You do not have the required permissions to view the files attached to this post.
Who is online
Users browsing this forum: No registered users and 22 guests