MadMakz™
[Mæd Mæks]
Just the steps:
Install hldsupdatetool if not already done
wget http://storefront.steampowered.com/download/hldsupdatetool.bin chmod +x hldsupdatetool.bin ./hldsupdatetool.bin
Answer with yes.
Install Dino D-Day:
./steam -command update -game dinodday -dir <choose dir> -retry
Install Wine & Depencies and Screen if not already done (as root):
aptitude install wine xserver-xorg xvfb screen
Run Dino D-Day:
Make sure you start Xvbf first!
Xvfb :1&
Then:
export DISPLAY=:1 screen -dmS dday_1 wine ./srcds.exe -console -game dinodday -ip <ip> -port <port> -maxplayers <maxplayers> +map <map>
Done.
To stop the server just kill the screen session. You can get a list of running screen sessions via screen -ls
As easy as 1-2-3:
1.) For the registration, make sure you’ve set a Captcha method, but don’t use the default one. Use Re-Captcha or an 3rd-party Java Captcha.
2.) Use Anti-Spam ACP
3.) Implent ZB Block
Original post: http://developer.ctrlplusv.com/2010/04/12/drupal-6-base_path-is-not-base_path/
Over the past 2 days i close to finished the theme conversion for CGX24.
I now started to build some block modules and came across that $base_path does NOT (always ?) point to the home URL.
In my themplate i sticked to call the base url via
By a typo i hoverver used
on one of my modules to get the base URL, but i quickly figured that $base_path points out the full URL to current page.
After i had a closer look on the api docs, i defined $base_path as a global first, and this brought the correct result of $base_path being then the base URL.
However, the best solution in my mind is to always use base_path() if you need to get the base URL to your drupal install.
Today i figured a nice tool to “symlink” a directory to a FTP server / mountpoint.
The app is called CurlFTPFS (there are other, old ones, but this one seems the only one wich is still good enough to be in the Debian packages).
To install simply run a
aptitude install curlftpfs
Then you can easily link folders via
curlftpfs ftp://myftp/ folder_link
(you need to create an empty folder via mkdir first!)
It surely also supports user and passwords, even SSL.
If you want to remove the FTP link again it is important that you do it via
unmount
directly doing a rm -r or rmdir WONT work as this “link” is actually a true mount and not a symlink (so a rm -r before unmount would even delete the files on the FTP for god if you´re authed or have otherwise delete access on that FTP). After unmount you can remove the folder then finaly via rm -r.
Yesterday, i solved a long mysterious bhavior of Winamp5 together with my all loved Jammix Enhancer plugin!
What was the problem? Well, it appeared that i was unable to pull the Jammix window from tray into window/foreground mode, it always just popped up for milliseconds, and dissapeared into the tray icon again.
I´m now on Windows7, and this issue start to begun on Vista. Never really found a solution, using Google and search for a solution also brought no results, left alone, with the feeling it only happens on my side, i lived without Jammix for about 8 Months!
2days ago i had to reinstall my W7 system (some systemfiles where damaged and i and windows wheren´t able to repair it).
Yesterday i reinstalled Winamp, and also gave Jammix another try, it still failed like described above..
Then, i have no idea why i tried it, probably a result of my frustration, i right clicked on my Winamp icon, moved forward to the “Compatibility” tab, and marked “Run as administrator” and clicked “OK”.
So, i restarted winamp, as administrator, clicked the Jammix tray icon, and bam! There it was, my all so much loved Jammix Enhancher menu, after 8 long months i had it back!
However, there is still some odd mystery for me, my user account, i run everythin with, is already anAdministrator account, so why i have to, basicaly re-run, it as “administrator”?
I might left out some stuff when reading stuff about the workwise of the Vista/7 usermanagment (Tbh i´m not reading really documentations at all).
Anyway, i´m happy as it is now, it runs, sound is kickin´ again, i don´t need anything more!
YAY!
Well not really a Bogus, more kinda incomplete.
I was helping out a friend who is in the move to G-portal.de. After screwing arround with the ROOT, he desided to start from scratch by reinstalling the default Lenny 64bit image.
But suddenly he was unable to execute hldsupdatetool.bin anymore.
He then gave me a call and i had a look;
The initial issue was as follows (permissions where set correctly before):
./hldsupdatetool.bin
-bash: ./hldsupdatetool.bin: No such file or directory
ldd hldsupdatetool.bin
not a dynamic executable
It took me a while untill i had the glory idea to do a ldd hldsupdatetool.bin wich then brought me quickly to the “libary idea”.
The default image, with everyone can reinstall their ROOT with, seems to come with the for hldsupdatetool (or any 32bit app) required ia32-libs, but not with the also required lib32gcc1 libaries (Wich breaks the sense of a “ready to go” image).