dracoblue.net

Spawn-Next Feature added, Cops blinking/balancing

Today we got some changes for police officers. Its not that easy to arrest somebody now. Also they got nice blinking colors, while beeing cop, to be easier to see fo the criminals.

Also since today we got a next-spawn feature. It spawns player at a multispawn right next the players death, to keep playing in a special area.

Details:

  • [440] [Gameplay] Added: /spawnn, toggles next-to-death spawning on and off. (DracoBlue)
  • [438] [Balancing] Zone info hides faster (DracoBlue)
  • [437] [Balancing] Cops blink on the map, so you can see them easier (DracoBlue)
  • [436] [Balancing] Readded start bank money (DracoBlue)
  • [413] [Balancing] Start Canisters (DracoBlue)
  • [435] [Balancing] Added: Cops need to be slower then 2 km/h to arrest somebody (DracoBlue)

In GTA:Tournament, Project by DracoBlue @ 2007-05-05 | 131 Words

Command line escape character for .bat on windows

If you want to escape special characters on .bat-files for windows, you need to put a

^ in front of it.

I noticed this, while trying to write a ">" to a file with one line.

echo test=^<info^> > test.txt

This writes "test=" into the file test.txt.

In , .bat, Articles, Windows, open source by DracoBlue @ 2007-04-30 | 48 Words

Lua table introduction

Today I finished the small

introduction in lua's powerful table element. Even though it shows most of the intuitive design of tables in lua, its good if you also have a look at the pages of the other table-functions like table.concat, to get detailed examples.

In Lua, LuaNET, Project, open source by DracoBlue @ 2007-04-30 | 47 Words

Issues when including utf-8 files in an ansi .php

When trying to include a utf-8 encoded file with an anis-encoded php script, I got an error that the headers have already been send (PHP 5.1.6).

So stick with one encoding to prevent such issues.

In open source, php by DracoBlue @ 2007-04-16 | 35 Words

Updating attachment issue with Mysql 5.0.18 in SMF 1.1.2

When trying to update (creation works well) a post, which has attachements it often (nearly) happens that my mysql 5.0.18 crashes.

I looked into the statement and saw that it shouldn't be (around line 568):

( a.attachmentType =3 AND thumb_parent.ID_THUMB = a.ID_ATTACH )
```




mysql 5 doesn't crash when using this instead:

( thumb_parent.ID_THUMB = a.ID_ATTACH AND a.attachmentType =3 )
```


Basicly this seems to be an mysql 5.0 issue, but this quickfix helped me to keep my site working with smf attachements.

I posted already a 

bugreport on official simplemachines site.
        
    

In mysql, open source, smf by DracoBlue @ 2007-04-06 | 92 Words

Page 44 - Page 45 - Page 46