PlaneShift
Gameplay => General Discussion => Topic started by: aineko on February 16, 2004, 06:48:15 pm
-
After Mogura\'s Guide to Client Customisation. Here\'s my guide to Client Modding.
!! You have to compile PlaneShift from source !!
!! Don\'t blame me if you screw up. You do it at your own risk !!
\" !>\" means that a line of code is inserted.
\"
If you like my mods and one of the developer finds a little free time, he might compile it and put it to the updater ;)
I think we should start now.
# Mod 1
If you\'d like the have a logfile of the ingame chat, do the following. This is very hand to dump the buddy list :)
File: planeshift\\src\\client\\aws\\pscommwindow.cpp
-----------------------------------------------
019 #include
!> #include
020
021 // CS INCLUDES
--
//Log of the SystemWindow
129 if (psContain(noCaseMsg,systemTriggers)){
130 colour = psengine->GetG2D()->FindRGB(255,255,0);
131 }
132
!> ofstream fp_out(\"chat.log\",ios::app);
!>
!> if (fp_out.is_open())
!> {
!> fp_out << buff;
!> fp_out.close();
!> }
133
134 systemTextBox->AddLine(buff, colour);
---
//Log of the ChatWindow
285 if ( buff[0] )
!> {
286 chatTextBox->AddLine(buff, colour);
287
!> ofstream fp_out(\"chat.log\",ios::app);
!>
!> if (fp_out.is_open())
!> {
!> fp_out << buff;
!> fp_out.close();
!> }
!> }
287 }
-----------------------------------------------
# Mod 2
With this little trick you can spice up the colors of your chat window.
File: planeshift\\src\\client\\aws\\pscommwindow.h
-----------------------------------------------
122 int triggerColour;
123
!> int sayColour;
!>
!> int meColour;
!>
!> int guildColour;
123 }
-----------------------------------------------
File: planeshift\\src\\client\\aws\\pscommwindow.cpp
-----------------------------------------------
206 if ( !havePlayerName )
207 {
208 csRef psengine = CS_QUERY_REGISTRY(objreg, iPSEngine);
209 noCasePlayerName.Replace(psengine->GetCelClient()->GetMainActor()->GetName());
210 noCasePlayerName.strlwr(); // Create lowercase string
211 chatTriggers.Push(noCasePlayerName);
212 havePlayerName = true;
213 playerColour = psengine->GetG2D()->FindRGB(255,35,35);
214 triggerColour = psengine->GetG2D()->FindRGB(204,255,0);
215
!> sayColour = psengine->GetG2D()->FindRGB(90,205,255);
!> meColour = psengine->GetG2D()->FindRGB(45,103,255);
!> guildColour = psengine->GetG2D()->FindRGB(60,200,0);
215 }
216
217 switch( msg.iChatType )
218 {
219 case CHAT_GROUP:
220 case CHAT_SHOUT:
221 {
222 cs_snprintf(buff,1024,\"%s shouts: %s\\n\",
223 (const char *)msg.sPerson,(const char *)msg.sText);
224 break;
225 }
226 case CHAT_GUILD:
227 case CHAT_AUCTION:
228 {
229 cs_snprintf(buff,1024,\"%s from %s: %s\\n\",pType,
230 (const char *)msg.sPerson,(const char *)msg.sText);
!> colour = guildColour;
221 break;
232 }
233
234 case CHAT_SAY:
235 {
236 cs_snprintf(buff,1024,\"%s says: %s\\n\",
237 (const char *)msg.sPerson,(const char *)msg.sText);
!> colour = sayColour;
238 break;
239 }
240
241 case CHAT_ME:
242 {
243 cs_snprintf(buff,1024,\"%s %s\\n\",
244 (const char *)msg.sPerson,(const char *)msg.sText);
!> colour = meColour;
245 break;
246 }
-----------------------------------------------
# Mod 3
Did you ever wonder what time it is? Let\'s add a ingame clock.
File: planeshift\\src\\client\\psengine.cpp
-----------------------------------------------
505 psUserCmdMessage cmdmsg(\"/online\");
506 netmanager->GetMsgHandler()->SendMessage(cmdmsg.msg);
507
!> modehandler->IsReady = true;
!>
508 return true;
-----------------------------------------------
hmm, I know it\'s not nice to mess with variables that arn\'t yours, but call my lazy :)
File: planeshift\\src\\client\\modehandler.h
-----------------------------------------------
112 void CheckNewSectorRain(iSector *newsector);
113
!> bool IsReady;
!>
113 };
-----------------------------------------------
File: planeshift\\src\\client\\modehandler.cpp
-----------------------------------------------
080 LoadLightingLevels();
081
!> IsReady = false;
081 }
---
373 printf(\"The time is now %d o\'clock.\\n\",msg.value);
373
!> if (IsReady)
!> {
!> char tmp[256];
!> sprintf(tmp, \"The time is now %d o\'clock.\",msg.value);
!> psSystemMessage sys(0,MSG_INFO,tmp);
!> msghandler->AddToLocalQueue(sys.msg);
!> }
!>
375 if (msg.value > lights.Length() )
-----------------------------------------------
# Mod 4
Aren\'t you tired of typing \"/tell personwithincrediblelongname hello\" ?
Just set /talkto and everything you type will be told to that person ;)
File: planeshift\\src\\client\\aws\\pscommwindow.h
-----------------------------------------------
122 int triggerColour;
123
!> char* pTalkPerson;
!>
!> bool useTalkto;
123 };
-----------------------------------------------
File: planeshift\\src\\client\\aws\\pscommwindow.cpp
-----------------------------------------------
065 systemTriggers.Push(\"server admin\");
066
!> pTalkPerson = \"\";
!> useTalkto = false;
!>
066 }
---
076 cmdsource->Subscribe(\"/say\",
077 \"Talk to the people in your immediate vicinity.\",
078 true,this);
!> cmdsource->Subscribe(\"/tlk\", \"Ignore that. You shouldn\'t see it anyway ;)\", false,this);
!> cmdsource->Subscribe(\"/talkto\",\"Set who to talk to. ;)\",CmdHandler::VISIBLE_TO_USER,this);
079 cmdsource->Subscribe(\"/shout\",\"Talk to people in your sector.\",CmdHandler::VISIBLE_TO_USER,this);
---
297 if ( buff[0] != \'/\' )
298 {
299 pPerson = \"\";
300 pText = buff;
300 *(pText-1) = 0;
300 chattype = CHAT_SAY;
300 }
!> else if ( !strncmp(buff+1, \"tlk \", 4 ))
!> {
!> if (useTalkto)
!> {
!> pPerson = pTalkPerson;
!> pText = buff + 5;
!> chattype = CHAT_TELL;
!> }
!> else
!> {
!> pPerson = \"\";
!> pText = buff + 5;
!> chattype = CHAT_SAY;
!> }
!> }
!> else if ( !strncmp(buff+1, \"talkto \", 7))
!> {
!> pTalkPerson = csStrNew(buff + 8);
!> useTalkto = true;
!>
!> delete[] buff;
!> return NULL;
!> }
!> else if ( !strncmp(buff+1, \"talkto\", 6))
!> {
!> useTalkto = false;
!> }
304 else if ( !strncmp(buff+1, \"say \", 4))
---
403 char* tmp = new char[strlen(Str)+7];
404 tmp[0] = \'/\';
!> tmp[1] = \'t\';
!> tmp[2] = \'l\';
!> tmp[3] = \'k\';
408 tmp[4] = \' \';
-----------------------------------------------
# Mod 5
Wanna disable the sound forever? Maybe because you\'re running winamp in the background? or WinTV?
File: planeshift\\src\\client\\sound\\pssoundmngr.cpp
-----------------------------------------------
076 SCF_CONSTRUCT_IBASE (iParent);
077
!> soundEnabled = false;
!> musicEnabled = false;
080
081 eventHandler = NULL;
-----------------------------------------------
# Mod 6
Are you tired of holding down the shift-key to run? Then let\'s make it stick. press L (or what ever you set in the keys.xml)
File: planeshift\\src\\common\\psbehave\\psbehave.cpp
-----------------------------------------------
243 autorun = false,
244 running = false,
!> lockrun = false,
245 hyperrun = false;
---
291 else if (!strcmp (msg_id+11, \"autorun1\")) // toggle switch not only while keydown
292 {
293 if (autorun == running)
294 {
295 autorun = (autorun)?false:true;
296 running = autorun;
297 }
298 }
!> else if (!strcmp (msg_id+11, \"lockrun1\")) // toggle switch not only while keydown
!> {
!> if (lockrun == running)
!> {
!> lockrun = (lockrun)?false:true;
!> running = lockrun;
!> }
!> }
299 else if (!strcmp (msg_id+11, \"run1\") && !autorun)
300 {
301 // If run is turned on by holding down a key
!> if (!running && !autorun && !lockrun)
303 running = true;
304 }
305 else if (!strcmp (msg_id+11, \"run0\") && !autorun)
306 {
!> if (!running && !autorun && !lockrun)
308 running = false;
309 }
-----------------------------------------------
File: planeshift\\keys.xml
-----------------------------------------------
016
!>
017
-----------------------------------------------
# Mod 7
Take a screenshot by simply pressing P (or what ever you set in the keys.xml)
File: planeshift\\src\\common\\psbehave\\psbehave.cpp
-----------------------------------------------
031 #include
032
!> #include
!> #include
!> #include
!> #include
!> #include \"psengine.h\"
033
034 #include
---
263 if (!pccam)
264 return false;
265
!> if (!strcmp (msg_id+11, \"screenshot1\"))
!> {
!> CaptureScreen();
!> return false;
!> }
266
267 if (!strcmp (msg_id+11, \"forward1\"))
---
598 mouselook_first_time = false;
599 }
600 }
601
!> void psBehaviourActor::CaptureScreen()
!> {
!>
!> char name[255];
!> sprintf(name, \"/this/screenshot/%d.jpg\", time(NULL));
!>
!> csRef G2D = CS_QUERY_REGISTRY(object_reg, iGraphics2D);
!> if (!G2D) return;
!>
!> csRef VFS = CS_QUERY_REGISTRY (object_reg, iVFS);
!> if (!VFS) return;
!>
!> csRef img (csPtr (G2D->ScreenShot ()));
!> if (!img) return;
!>
!> csRef imageio (CS_QUERY_REGISTRY (object_reg, iImageIO));
!> if (!imageio) return;
!>
!> csRef db (imageio->Save (img, \"image/jpg\", \"progressive\"));
!> if (!db) return;
!>
!> if (VFS->WriteFile(name, (const char*)db->GetData(), db->GetSize()))
!> {
!> csRef psengine = CS_QUERY_REGISTRY(object_reg, iPSEngine);
!> if (!psengine) return;
!> char tmp[255];
!> sprintf(tmp, \"Screenshot taken.\\n\");
!> psSystemMessage sys(0,MSG_INFO,tmp);
!> psengine->GetMsgHandler()->AddToLocalQueue(sys.msg);
!> }
!> }
602
603 psBehaveTest::psBehaveTest()
-----------------------------------------------
File: planeshift\\src\\common\\psbehave\\psbehave.cpp
-----------------------------------------------
127 csVector3 defFollowPos, defLookatPos, defFirstPos;
128
!> void CaptureScreen ();
129 };
-----------------------------------------------
File: planeshift\\keys.xml
-----------------------------------------------
016
!>
017
-----------------------------------------------
-
nice job Aineko. Too bad I won\'t be able to use it :P
btw: you should disable smileys in that post :P
-
Nice! :tup:
Although, auto-run is already there. ?(
-
yea, but autorun is like holding shift AND w/up-arrow
maybe this thingy works like holding shift only
-
Exactly, draklar, you got the point :D
-
Very cool. You should make one of those source patches that goes in and does these changes for the source tree. I know it\'s possible, I just don\'t know where, I\'ve done it before in Gentoo and when I was compiling a kernel for Yellow Dog Linux. I don\'t know how you\'d do it in Windows, but I\'m assuming a simple patch like that shouldn\'t be a problem in Linux or OS X.
-
Great work, Aineko! :)
*brings out the glue*
Stickied. :D
-
Thanks Mogura
Yay, it\'s sticky. Not bad for the 4th post i\'d say :)
aircows: you bet, i don\'t know it either :D
I just wonder who actually uses my mods :)
-
and after about 2 minutes of googling. The commands to do that are \"diff\" and \"patch\". diff to creat the diff-file, and patch to apply the diff-file to the source tree.
-
sure, with linux :) but not on windows. the only thing I have is windiff from the msvs.
Anyway, I\'ll merge all patches (but the sound one) in the files and distribute the changed files.
Maybe on of the developers might even find a few minutes of time to compile it and put it in the updater :D
Most ppl probably won\'t be able to compile PS anyway :(
-
Great work, Aineko, I knew you\'d post it someday ;)
Now the next mod should be a one-by-one /give, to work around the new bug introduced since Ezman :D
For those who would like the flexibility and power of Unix/Linux shells under Windows, try Cygwin (http://www.cygwin.com/ ). It\'s very handy.
If I remember well, the best is to take the sources from here : http://www.planeshift.it/download_source.html : PSV0.2.010.Snapshot.zip (http://www.planeshift.it/download/sources/PSV0.2.010.Snapshot.zip). Don\'t take them from CVS !
-
Rock on!
I especially like the clock :]
I haven\'t tryed it though but it sounds cool.
-
Ok, forget the patches, here are the changed files: (i hope there is rar for linux)
http://www.freewebs.com/aineko/planeshift-src.rar
For those who can compile it, a binary distro:
http://www.freewebs.com/aineko/planeshift-bin.rar
! Warning !
! You use it at your own risk !
! I might not be stable !
! so don\'t blame me !
just extract the file into your PlaneShift folder.
to undo, run the updater
-
for a faster download of the 2,91MB binaries
http://perso.wanadoo.fr/locutus.borg/planeshift-bin.rar.
-
THX, Golmir. Expected 40mins for 3MB download reminded me too much of \"the old times\" ;)
-
Why are you making mods to MB instead of joining the dev team and working on the bleeding edge, Aineko? :-)
-
good question.
first of all, I didn\'t make the mods it just now. I only publish them now. I wrote them several months earlier.
In addition, it helps to overcome the time untill CB :)
I\'m familiar with the MB code now. Probably the only person that still is :)
Do you need another mod for MB? I think it still takes 1 months or more untill CB.
I will code for CB, once it\'s released.
But let me ask you a queation as well. Will PS release / update more often in the future?
Open source is told to release early and often (I read that somewhere). I don\'t say that you have to release a complete new version (like CB) every few weeks. But a little mod, a new item, a piece of map, another quest or so would be nice and keeps the interest of the players. A lot of them are waiting for CB and don\'t play MB anymore.
-
Releasing/updating often really depends on the amount of our free time, and what amount of hard work we\'re willing to stress over. ;) If the above modding is an indication of your skill, then you should be working with us. The invitation to apply has been extended (more than once), so why not? Help us release/update more often. CB should be easier to update with new content than MB was.
(P.S.- Welcome to the forums. It\'s about time you got here. :) )
-
Aineko, there is a bug in the item giving logic somewhere in MB and I\'m sure the entire community would worship you if you fixed it. :-)
-
no prob.
the bug occured when you fixed the ezman bug.
therefor i\'d need the latest version of the server code.
can you tell me where I can get it?
-
cvs?
-
oh, darn, I though it was in -rMB010 but it was in -rMB :D
But where is the /buddy give code?
I compiled the server and when I /buddy give it says there is no player called \"give\" o.O
-
!! BUG ! BUG ! BUG !!
I found a bug. It let PS crash on WinXP when you typed \"/talkto\"
Golmir hasn\'t updated the mirror yet. so you have to use the slow one:
Source: http://www.freewebs.com/aineko/planeshift-src.rar
Binary: http://www.freewebs.com/aineko/planeshift-bin.rar
File: planeshift\\src\\client\\aws\\pscommwindow.cpp
-----------------------------------------------
360 else if ( !strncmp(buff+1, \"talkto\", 6))
361 {
362 useTalkto = false;
!>
!> delete[] buff;
!> return NULL;
!>
363 }
-
Great work aineko, nice to see you\'re fixing the bugs aswell :]
-
The mirror for binaries is updated.
http://perso.wanadoo.fr/locutus.borg/planeshift-bin.rar
http://perso.wanadoo.fr/locutus.borg/planeshift-bin.zip
-
!! New features !!
First of all, thanks for all the great feedback :D
I implemented the following new features:
/clock : toggle the HMT clock on/off (for thoses who don\'t like it)
/ignore : Use it like the IRC /ignore.
/unshout : Ignore everything that\'s /shout-ed
Feel free to request additional features :)
Source: http://www.freewebs.com/aineko/planeshift-src.rar
Binary: http://www.freewebs.com/aineko/planeshift-bin.rar
I hope Golmir can update the mirror soon
-
hehe... that /ignore mode would be the most important right now... and people seem to want it ;)
great job Aineko! :)
-
Sorry for the delay but I had to sleep ;)
The mirror for binaries is updated.
http://perso.wanadoo.fr/locutus.borg/planeshift-bin.rar
http://perso.wanadoo.fr/locutus.borg/planeshift-bin.zip
-
I just started using a Dvorak keyboard... is there any way you could help give me a way to rebind all my keys? The functions that most things are bound to are now all out of place...... Thank you for looking at the idea
-
I thank you greatly for the /ignore command, great job Aineko :)
-
Originally posted by Cyrandir
is there any way you could help give me a way to rebind all my keys?
try to edit the keys.xml
-
If this version crash after a few minutes (it happened to me end Zetsumei at least)
you can run the updater to return to the original files.
I did not keep track of the previous sources.
Only the old ZIP file is still avaliable
http://perso.wanadoo.fr/locutus.borg/psclientoldbin.zip
-
Yeah it was crashing for me as well, I believe Draklar was having the same problem.
-
crashing?
hmm, strange. it\'s shouldn\'t.
I\'ll try to find the bug
do you know when it actually crashes?
when you /ignore someone? when you toggle the /clock? when you /unshout? when someone says something?
-
It randomly crashed for me. I remember once I was running around in the dungeon....another time I was just standing in the temple.
-
Bug Fix ! Bug Fix ! Bug Fix
The crash is fixed.
Golmir\'s mirror is updated.
Everything is fine :D
Source: http://www.freewebs.com/aineko/planeshift-src.rar
Binary: http://www.freewebs.com/aineko/planeshift-bin.rar
Binary: http://perso.wanadoo.fr/locutus.borg/planeshift-bin.rar
Binary: http://perso.wanadoo.fr/locutus.borg/planeshift-bin.zip
-
New mod release
Changes:
-------------
- New Ignore system (see /help)
- Greet Button. press G instead of typing /greet
- New Filename for Chatlog
Several players reported that that planeshift uses to crash when more than one instance is running.
I think this is because all instances try to access the same log file.
So I changed it. it now called chat_%pcname%.log (like chat_aineko.log)
Since I only change the planeshift files and not the CS or CEL files, you don\'t need to download them again and again.
PS Binary: http://www.freewebs.com/aineko/planeshift-bin-ps.rar
CS Binary: http://www.freewebs.com/aineko/planeshift-bin-cs.rar (Only download if you don\'t already have a mod)
Source: http://www.freewebs.com/aineko/planeshift-src.rar
-
People are running more than one instance of MB client???
Why? :-)
-
dunno, vengeance, maybe addicted to lag?? o.0
I just wonder what kind of supercomputer they have in order run 2 planeshifts at once ....
-
will the updates like /ignore also be in the next official release of ps? or do you have to keep getting it from here every time there is a new update?
cause if you update, all files are brought back to normal, making you have to dl and install it all over again. so i think the usable/important mods he made should be integrated in the nxt PS update and thus become a part of the official PS and not an extra
-
btw, i cannot seem to download the latest update. ( i do not yet have a mod so i used the CS binary update) i keep getting an error saying download failed.
-
Originally posted by aineko
I just wonder what kind of supercomputer they have in order run 2 planeshifts at once ....
my record 7 :]
and Venge, what do you mean why? (http://upl.mine.nu/uplfolders/upload9/army.jpg) :D
anyway, Xanaroth: I prefer to download everything all over again than to keep devs away from their work everytime Aineko thinks of something ;)
-
New mod release
Changes:
-------------
- New Ignore system (see /help)
- Greet Button. press G instead of typing /greet
- New Filename for Chatlog
Nice!!! Tried the mods for the first time yesterday...they worked great. I like the blue color for /say chat.
The G for greet idea is a great idea. Can\'t wait to try it out. (Will add a whole new dimension to hide-and-seek type games ;) ).
Any chance of having something similar for /shout? Maybe something similar to /talkto?
-
Originally posted by Draklar
Originally posted by aineko
I just wonder what kind of supercomputer they have in order run 2 planeshifts at once ....
my record 7 :]
Draklar, what are your system specs ? 8o
-
oh it\'s not that great really, I don\'t lose that much frames when I launch more clients... it\'s just that after 7 I couldn\'t launch anything more... sometimes not even open folders :P
but well:
GiForce Ti 4600
Athlon XP 2000+
512 Mb ram
Windows 98
nothing speciall :P
-
Originally posted by Vengeance
People are running more than one instance of MB client???
Why? :-)
If you\'re an explorer you run 1 or 2 extra for lag if your fps is to high to get where you want to go : ). its also nice to have another client open incase your other client is overcome by an fps storm(ie. someone nearby is attempting to get through a wall or ceiling, causing your fps to drop below 1.00) just alt tab over to your other client and continue the conversation there until the fps drop lets up on the first.
oh, the max ive run is 4 at once, though i normally only run one(unless i need lag)
-
Originally posted by Xanaroth
will the updates like /ignore also be in the next official release of ps? or do you have to keep getting it from here every time there is a new update?
cause if you update, all files are brought back to normal, making you have to dl and install it all over again. so i think the usable/important mods he made should be integrated in the nxt PS update and thus become a part of the official PS and not an extra
Ignore Window for Crystal Blue (http://www16.brinkster.com/acraig/ignore.gif)
-
now who added poor Venge to his ignore list? :D
-
ok, that anwers my first question. now how about the 2nd one... why can\'t i download the CS mod? i keep getting a download failed error.
-
Xanaroth: it works fine for me. maybe you\'re doing something wrong...
If you don\'t have a mod installed, you\'ll need both files.
http://www.freewebs.com/aineko/planeshift-bin-cs.rar
http://www.freewebs.com/aineko/planeshift-bin-ps.rar
Mordaan:
> Any chance of having something similar for /shout?
Hell no!! There\'s enough /shout.
Imho, you\'d have to use /yesireallywanttoshout :P
maybe, but only maybe, I\'ll add a /guildmode or so.
-
i now get the message \"dowload was not completed succesfully. Server has internal error\"
-
> Any chance of having something similar for /shout?
Hell no!! There\'s enough /shout.
Ok. Got greedy. :rolleyes:
Put it under the heading of \"give \'em in inch...\"
:)
-
Should I be offended by that acraig? ;-)
- V
-
New mod release
Changes:
-------------
- /guildmode works like /talkto but let\'s you talk to your guild
- Makros
You have a file called psmacro.cfg in PlaneShift folder.
Here you can define Macros.
Planeshift.Makro.sellmug = /auction I wanna sell my mug
to execute the Macro in PlaneShift, type #sellmug
I predefined #1 and #test
Since I only change the planeshift files and not the CS or CEL files, you don\'t need to download them again and again.
PS Binary: http://www.freewebs.com/aineko/planeshift-bin-ps.rar
CS Binary: http://www.freewebs.com/aineko/planeshift-bin-cs.rar (Only download if you don\'t already have a mod)
Source: http://www.freewebs.com/aineko/planeshift-src.rar
-
dunno if this is possible but can we get an option to turn off suto-rmember password on the login screen.... would eliminate the \'my lil brother did it\' excuse
-
And shadowed passwords would be nice.
-
Ok, you wanna masked passwords? You can have it :D
in the planeshift.cfg I added, there is a line :
> Planeshift.Connection.HidePW = 0
If you set it to 0, the password will be stored.
If you set it to 1, the password will NOT be stored.
should you deciede to use 1, make sure you delete the Planeshift.Connection.Password, otherwise your password is still in the configfile.
The password will be masked. No matter what you set.
eh, I guess you should know the URLs by now...
-
thankees... now if someone whines \'but it was my annoying lil brother\'... i shall poin them here :P
btw aineko .... u r a god m8
-
Love the in game macro, no more typing out long FAQ urls. /guildmode will make long guild chats easier. Great mods Aineko :)
-
OMG I loooooove macro #1! Hmz, there are 2 quests though *fixed*. :P
-
aaaaaaaarrrrgggghhhhhhh i want the mod but i am still getting the same error over and over again!!
\"download was not completed succesfully. Server has internal error\"
I keep getting this message over and over and over again. i even tried to dl it on my friends pc but there i got the same error. WHAT IS WRONG?!?!
btw we both used DAP, so could it be that your link isn\'t made for DAP downloading?
-
Why not try downloading it without DAP? I mean it\'s less than 2 mb...
-
New Release.
Now you have a spawn key.
Press R to Respawn.
It\'s handy if you\'re stuck in a cloud of lag and can\'t type.
ps: the /buddy give thingy works again. just so everyone knows. I still see pll droping and picking crystals
-
Um..Aineko...R is the auto-run key, and I use it quite a bit. You might want to change the button that controls spawning.
-
oh my, you\'re right :D sorry
should be fixed now :)
you can change it in the keys.xml if you don\'t like the way I set the keys
-
Aineko,
I have heard that griefing and spamming are more common now in MB. If you want to make a /kick admin command so that people with security level 2 can kick whoever they want, I will patch it into the real server.
- Venge
p.s. Then we just have to decide who to give the power to... ;-)
-
That would be a great command to include until CB. I see at least one person everyday in-game who is being abusive. And I\'m sure Aineko could handle it.
-
Now, would the kick be permanent or temporary? Because I occasionally get griped on for either being an asshole, bastard, pervert, etc, or for not exactly being the nicest player in the game, but for the most part people get along with me, most of the time. And I wouldn\'t want to get permanently banned because someone just decided that they didn\'t like me very much on a particular day.
-
Well I\'m sure there could be a kick and a ban command.
-
I think kick should be enough. :)
Maybe an Admin Warning should be included as well, so you could /warn guest and if he keeps doing what ever he was doing /kick guest.
I\'ll take a look at it.
-
Hi, good job on the mods. I got a new mirror for them. Had it up a few days but the board lost my reg email so I couldn\'t say anything for awhile.
http://www.kgemods.com/modules.php?name=Downloads&d_op=viewdownload&cid=6
one of the files (planeshift-bin-cs) is still downloading the new one so it will be awhile before it is up.
EDIT: Oh if you look around the site you\'ll notice there\'s not much there, thats because the site is still VERY new, and I haven\'t done any advertising.
-
You can update your mirror. :D
I just uploaded new planeshift-bin-ps.rar and planeshift-src.rar.
It contains mainly the client part of the /kick stuff. But you won\'t see it ingame unless you have the right to see it. :P
I sent the server part to venge and acraig.
There is not permanent ban. All you can is kick and warn players. Simply kick the player again if he starts to griefing and spamming.
Another point about kicking: Zetsumei :P
A mmoRPg is about RolePlay. Don\'t kick someone just because he choses to play the bad guy ingame. Make sure they really spam and warn them first.
btw, the /warn and /kick is anonymous. You only see that a GM warned you or kicked you, but you do not see the GM\'s name.
However it will be obvious who kicked you since they\'ll most likely warn you through chat first.
-
Darn I still got one file to upload from the LAST update. :D Talk about bad timing. At least the cs file wasn\'t updated. :D
EDIT: Well done updating. I was getting around 300k so it\'s fast. :D
-
I finally got to trying out your mods and I must say, Great work! I really like the /talkto option, I was always forgetting to type the name when trying to speek in /tell mode, had to type everything two times over because of that ^^;
You should edit the first post in this thread saying you have to recompile planeshift though, it kinda confused me since I didn\'t read past thread 2 or 3 :P
Here are some suggestions to what you could include more:
- /mute for the GM\'s, the player this command is targetted to will be unable to speak if he is muted.
- anti-flood, if someone says the same thing 3 times after eachother in a very short period of time he gets kicked or muted(I don\'t know if this would work with the double talk bug though ^^)
- a bad words list, so you can set some words to be filtered out of the chat(like f*ck, sh*t, etc.)
These are just suggestions of course, but I thought I\'d give you some ideas to what more to do if you\'re bored :P
-
*glomp* Thanks Aineko.
One thing though; if I do wind up getting booted for what I feel is not a valid reason, will there be a place where bring it up? And since it only just kicks you from the game and all you have to do is log back in, I probably wouldn\'t ever complain, unless it was to the point where I got kicked as soon as I got back on.
-
Originally posted by Zetsumei
*glomp* Thanks Aineko.
One thing though; if I do wind up getting booted for what I feel is not a valid reason, will there be a place where bring it up? And since it only just kicks you from the game and all you have to do is log back in, I probably wouldn\'t ever complain, unless it was to the point where I got kicked as soon as I got back on.
I think at the moment you would have no recourse since it would just be a kick and we cannot track that. When Crystal Blue comes out it will have a GM system and we can track which GM\'s use which commands so you can protest that. But at the moment I don\'t think it is too big a deal.
-
We will only give trusted people access to /kick.
-
> - /mute for the GM\'s, the player this command is
> targetted to will be unable to speak if he is muted.
No, you would have to implement a /ignore on the server. Just kick the person, then he\'s muted as well.
> - anti-flood, if someone says the same thing 3 times
> after eachother in a very short period of time he gets
> kicked or muted(I don\'t know if this would work with
> the double talk bug though ^^)
Yes, might be possible.
I store the text of the last message and check if it\'s the same as the new message.
> - a bad words list, so you can set some words to be
> filtered out of the chat(like f*ck, sh*t, etc.)
I don\'t like content filtering. IMHO, part of freedom of speak is the freedom to use the words you like. Have you read George Orwell\'s 1984?
Newspeak is double plus ungood.
On the otherhand: \"Dick Van Dyke cooks a large breast of chicken for his pussy cats.\" to adapt Acraig freely.
-
oh, forgot to post that. What I meant with the bad words list, was a list client side. It could have some words in it by default, but if you don\'t want to see any offensive words at all you will have to add them to the list by yourself.
This way you can say whatever you want, it will show up like normal on your client. only people that might feel offended by it have the possibility to filter out the words they don\'t like.
-
Ok, you have your /mute now :P
Furthermore, you have /teleport.
Seperot would use it like /teleport moogie. So he spawns at the same place where moogie is. (nice example)
The GMs need my mods in order to use the new commands.
-
yay, thank you Aineko :D
gonna try the latest mods now :]
EDIT: slow server :/ I\'ve uploaded the latest file to arcaneorder.com now too, get it here: http://www.arcaneorder.com/planeshift-mods.rar :))
PS. there\'s a typo in your makro file :P
I\'ve changed it to this in my file(a open -> an open; 2 quests -> 1 quest (since one of the NPC\'s you need to solve quest_1 is gone); can also not -> also can not):
Planeshift.Makro.1 = /shout PlaneShift is an open source mmorpg in it\'s PRE-ALPHA state. All you can do is Chat, solve 1 quest and collect crystals. You can buy weapons at planeshift.fragnetics.com/merchant but they are useless since you can\'t fight. You also can not open doors or crouch. Planeshift is FREE and will always be.
Planeshift.Makro.test = /say test :D lol
-
Just to note. I am going to try and patch the MB server with aineko\'s /warn and /kick commands this weekend. So there may be some up and down time as I test things. Hopefully by Monday it should all be done ( depends on work though. I may be called out anytime over the weekend. :) )
-
Furthermore, you have /teleport.
Teleport is for use by all?
Nice!
Could be used as a cheat in hide and seek type games, though.
-
The /teleport command is for GMs .
-
Ok, thanks.
Besides, I could also see that used for stalking purposes! :)
That one is best left to the GMs.
-
Cool, well I will update then get some sleep.
**EDIT oh I will try to make a way to automatically update the website every 24 hours so they won\'t get more then a day behind. (any ideas other then mouse macros would be great (especially since windows has a habit of moving windows around.) :D
-
These mods are sweet! Great job! :D
Anyway, I have a nasty challenge for ya.
Do you think it is possible to assign certain textures to certain characters? ;)
-
I tried to apply the mods to my linux client today, but it didnt work, during compile some errors occured while compiling pscommwindow.cpp regarding that ios wasnt declared. I think it\'s caused by gcc 3.3.3 which i use. To get this working I added these lines before the #includes in the file:
using namespace std;
#include
then I typed \"jam -a\" and everything went fine (just the server didnt compile, but thats was always the case)
PS: I used a fresh copy of the -rMB branch and copied the files from the planeshift-src.rar over them
Maybe this will help others trying to apply the mods for their linux box :)
-
Bah!!
I must be the only person playing PS that has no idea how to compile anything from source. Does anyone have a link where I can find out that obviously simple little tidbit? Than I can finally start using the mods. :D
Duh? sorry, forgot...I?m on windows ME (I know, I know.)
-
You don\'t have to compile anything anymore, just download the latest patches, overwrite the current files with them and run planeshift :)
-
For those tux worhippers among us who dont want to get the source from CVS and apply the patches because they are lazy I made packages of the sources and the binaries.
For the sources: Just change to the folder you extracted the files, run ./autogen.sh, ./configure and jam. If jam complains about 1 unbuild target, don\'t worry, it\'s just the server which you will most propably not need. I wonder why it does never get built on my machine ?(
For the binaries: extract the files to a folder of your choice and copy the /art folder over. Adjust your exports and run ./pssetup then ./psclient and voila: have fun :)
My server (slow):
psmodsrc-linux.tar.bz2 (1.2MB) (http://planeshift.mortalsaviour.net/download/psmodsrc-linux.tar.bz2)
psmodbin-linux.tar.bz2 (1.6MB) (http://planeshift.mortalsaviour.net/download/psmodbin-linux.tar.bz2)
Tripod mirror:
psmodsrc-linux.tar.bz2 (1.2MB) (http://mitglied.lycos.de/darkpleasures/download/psmodsrc-linux.tar.bz2)
psmodbin-linux.tar.bz2 (1.6MB) (http://mitglied.lycos.de/darkpleasures/download/psmodbin-linux.tar.bz2)
Edit: updated links with binary packages, now you don\'t need to compile PS from source :)
Note: the binaries were compiled with gcc 3.3.3 on a athlon xp, so it could be that they cause trouble on your system. If unsure grab the source packages
Update: removed the -withart packages and renamed the -noart packages to -linux
-
Just updated again in case I missed an update. :D
http://www.kgemods.com/modules.php?name=Downloads&d_op=viewdownload&cid=6
I may get an ftp server up for the files also. (Depends on how cooperative my host is. :D)
**EDIT** Darn host won\'t let me make a public account. D\':
-
I\'m already using mod, but I\'m not sure if have everythik.
I dowloaded \"planeshift-bin.rar\" and I\'m using it but I see there are other ones:
planeshift-bin-ps.rar
planeshift-bin-ps.exe
In what are they different from planeshift-bin.rar?
and there are two other ones which shouldn\'t be installed when mods are instaled already, these ones:
planeshift-bin-cs.rar
planeshift-bin-cs.exe
Why they shouldn\'t be installed?
I gues that this was explained somewhere in this topic but I couldn\'t find the answer.
Who can help me?
-
The planeshift-bin-ps.rar and planeshift-bin-ps.exe, are the same file just in a different format, the rar is smaller, but not everyone can open it. And correct me if I am wrong, but wasn\'t planeshift-bin.rar just renamed to planeshift-bin-ps.rar? And I believe planeshift-bin-cs.rar has the base files that got changed, and then planeshift-bin-ps.rar just copies any newer versions over since not all files are changed in each update and it saves space not having to get the unchanged files with each download, that way it saves LOTS of download time. This was changed from when planeshift-bin.rar was used where all files were downloaded and it took a long time to get the file.
Well I hope I got that right as it is 12:30 am here so I may have that all wrong, and I didn\'t go back through the posts because it is 12:30. :D :O Well off to play something for bout 5 mins then off to bed. Night everyone. **yawn**
-
It should be noted that Aineko will not be able to spend much more time in PS for the next while, so unless someone else decides to write a mod, this is it for now.
-
Seems that a lot of these mods are pretty useful, are they going to make it in the CB official release?
-
Since the release of CB will mean an entirely new client, there is no point. But I\'m sure things may be modified at time goes on. There will be a lot of new gui features in CB so hopefully most of the concepts from the mods will be included.
-
Most of these thing IIRC are in the CVS client and have been.
We just haven\'t got time to non critical updates to MB
-
RAHAHAHAHAHAH!!!!1111elevenoneoneone
The macro to end all macros the, Intercontinental Ballistic Thermo-Nuclear Macro (set)!
Proving once and for all that there is a character limit.
Eliminate newbie questions forvever! :D
Planeshift.Makro.3 = /shout Launching IBTNM... \"PlaneShift is an open source mmorpg in it\'s PRE-ALPHA state. All you can do is ROLEPLAY, Chat, solve two quests and collect Crystals. You can buy plastic weapons at planeshift.fragnetics.com/merchant but they are useless since you can\'t fight. The cheapest item is a mug for 500 rubies. Ruby=1 Emerald=10r and a Diamond=100r. You also can not open doors or crouch. Planeshift is FREE and will always be. Crystals can be found almost everywhere, especially corners and dark places. There is no release date on CB (the next version) because work is volunteered. GM\'s have authority to kick & ban. Most of the lag is caused by your computer, the engine is unoptimized. \"/help\" lists all commands. Some people have aineko\'s client mods, which can be attained from the forums. They include Macros, a clock, /ignore, unshout, and blue text! ;) CB will contain the first iteration of everything, including crafting and fighting. If you see a ruby or other crystal floating
planeshift.makro.3b = /shout ...in the air, please do not take it. It is probably part of \"Crystal Art\".\" ...and no french on the /shout channel. :P ...et non francais dans /shout s\'il vous plait. :P Or any language other than english for that matter.
-
I decided to try the mods, I installed them, and now PS won\'t load for me : \\
It\'s stuck on Intializing World...
I see no reason why it\'d do this, PS worked just fine before.
I even tried reinstalling PS and the mod, and it\'s still not working...
Maybe I missed something in the installation? From what I understand all I need to do is download planeshift-src.rar, and unrar it into the PS folder... ?(
I even tried running the Updater to go back to the normal PS, but it\'s still stuck on Intializing World! X(
Specs:
Win 2k SP 4
512RAM
Pentium 4 1.8GHz
DirectX 9
Any ideas?
-
There are two zip/rar/exe (whicever you pick) files you need to download, and you need to make sure you download the binaries, as opposed to source. Anyway, you need to download both planeshift-bin-ps.rar and planeshift-bin-cs.rar and unzip both of them to your Planeshift folder.
-
Nice guide.. I thought I was far not skilled enough to use the PS code.. but when I see these parts of it I know what they mean and what you are doing :P
Btw maybe the mods could make a mods section were everybody can submit mods to PS, than the admins could test it and when its realy good they could post it somewere on a mods section on the PS site.
-
Is there any chance that you could impliment a repeat feature for when your messages dont go through the first time.
I know i tend to type long messages and when they dont go through the first time its a real pain...
-
Not appearing on your screen doesnt always mean they didnt go through. ive typed out a sentence, then not have it show but then someone replies to it :P
-
yeah but there have been plenty of times when i didnt see it and it didnt go through...
-
Repeat is a good idea. It often happens that I mistype something (like char names or commands) and have to type in all the stuff again. A way to cycle through the last, say, 10 things typed would be handy.
-
I have looked at that message code, and it looks like there is a chance that it won\'t make it to the server, and there is a chance that it won\'t make it back to you or anyone else.
I tried to make a mod, but it isn\'t stable. One of the changes that I made involved making the sent message appear before it was sent(the mod /telled the message to multiple people). It is actually better to do such a thing server side, and it is a good idea to not display the message unless it returns. The netcode isn\'t very reliable, and your messages will drop.
There may be a way to make it start a timer and then resend the message if it doesn\'t come back, but I\'m not that good(csArray was very confusing because I thought it was a vector at first.)
Since people are reading(unless they stopped already) this, I have a good idea. Planeshift has some really high system requirements. How about a Planeshift Lite? The same capabilities and everything, but less GPU intensive. Not the Crystal Space engine because it is too big.
-
I haven\'t looked at it, but presumebly every aspect of the code is being revamped(mb is pre-alpha afterall), so in CB there won\'t be the chance of dropping messages. But it\'ll certinly be a nice learing experence to fix MB! ;)
Originally posted by theRealGorbulas
Since people are reading(unless they stopped already) this, I have a good idea. Planeshift has some really high system requirements. How about a Planeshift Lite? The same capabilities and everything, but less GPU intensive. Not the Crystal Space engine because it is too big.
Err, well, in theory that would be cool, but it\'s just not possible. You can\'t just swap one graphics engine for anouther unless they are perfectly compatable, and most of the problems with crystal space are because it is a still in progress. But just wait till you see what it can do!
-
For Planeshift Lite, all you have to do is edit the config files in your CS folder ... \\data. And if you dont have them, download the CS source and copy them over to it. Edit things like opengl.cfg and render3d etc D:
-
Sorry guys, today is 1st time i read this thread but i\'v found it very intereting and the utility made by Aineko are usefull.
Only a question: someone know where i can find she? I need to ask few things....
-
ITs too hard for me!!!!!!!
I wont be doing Screenshots!!!!!!!!!!!!!
HELP!!!!!!!!!!!!!!!!!
-
Modifying the code is not for the faint of heart. I suggest you wait patiently for the Crystal Blue release, when much of this functionality will be in the game by default.
-
I\'v made my own mods on MB, take a look at http://www.geocities.com/ciry79
-
Now u can find mods 0.8 on my web, but i\'m working on 0.9 fixing some bugs that was reported to me by Nikodemus, i start reporting the list of bugs written by Nikodemus and what i\'v fixed at now:
-----------------------
The list of fixed bugs:
-----------------------
1.new commands arent in /help, also there aren\'t some which are in oryginal game without mod.
(ok, added \"/talkto\", \"/guildmode\", \"/shoutmode\" and \"/saymode\" to /help)
2.sometimes happens that the list doesn\'t appear when you type /who /buddylist or /guildmembers (this one i couldn\'t find in /help)
(i\'v tested it several times and always worked fine, anyway if u mean it say that list is loading this isn\'t a bug, because i\'v redirected the commands /who, /buddylist and /guildmembers reading my local lists to improve consulting time
when they are loaded)
3.sometimes lists which apears in your all new windows are displayed in commands window in random order.
(i\'m not shure if i\'v fixed it at all, but i\'v rewrited some filter code, try it and tell me....)
4./guldmembers list displays worse than in not modded PS because its in form and in next line but it should
in next line and so on.
(fixed, was different from the original because i manage an ordered list, now the order with cmd is by rank)
5.sometimes \'emeraldae\' word starts appear in commands window every 10-30 sec. and wont stop unles psclient isn\'t restarted.
(because i was searching for keyword \"ruby\", \"emerlad\" and \"diamond\" for some flags, now i fixed the keywords as \"ruby crystal\", \"emerlad crystal\" and \"diamond crystal\" )
6.I dont know how it\'s now but list shouldn\'t be updated when they are hidden, because this is unnecessary action.
(isn\'t a bug, because i use the player online list to find the guild name when u target someone and to show faster when u type /who)
7.It\'s not displayed in guild members window how many of them are online (always (xx/0) unlike to buddy list window.
(fixed, it wasn\'t working because i wasn\'t filtering a newline char after the name)
8.Sometimes happens that some names arent displayed and list is uncomplete. I saw that in guild members window. For few minutes i was shocked as a guild leader coz i though they might been removed by bug. But I felt ok after I looked to crystal stats =) and everythink was ok, uff. =)
(this problem was coming from the same code as point 3, if point 3 is fixed this too)
9.In all your windows lower part of every line is too much cut so names like Nilaya or Mayia looks like Nilava and Mavia. Its not like
this on your 800x600 screenshot (through these are still cut) but on 1152x864 it is.
(fixed, wow was only 1 pixel less :P )
10.you also removed two keys for turning around \'Q\' and \'E\', these work anymore.
(added, also if i never seen these keys in official release or Aineko mods)
11.blue colour for diamond in commands window is to dark, it should be as light as diamond colour or said messages. Same with performed
actions (/me) This dark blue colour which is now, just dont look good on every background and its hard to read it sometimes.
(fixed)
---------------------------------------------
The list of bugs to fix, i\'m wokring on... ;)
---------------------------------------------
12.it would be good idea to add to each of your new windows one button which would make them big enought to have in one line everythink
this what appear when you type /who /guildmembers . If you do this, there will be no need to type these commands manually.
Cad have sent to me the code of Aineko and today i\'v finished to mix it with mine, so now there are also GMs commands, i\'m talking about /warn, /kick, /mute and /teleport, but i\'m not a GM so i\'ll send the mods to some GMs to test it.
I think to pubblish mods 0.9 on my web in few hours, anyway check them tomorrow, i\'ll post here when u can find them.
----------------------------------------
Thaks to Nikodemus, Cad, Elscha, Taldor and Xenia for suggestions and help. :D
(and of course to Aineko too, her code is living in mine now :rolleyes: )
Now i return on the code, few things to complete, see u later.... ;)
-
Ok, done, the mods 0.9 are now avaiable at www.geocities.com/ciry79 (http://www.geocities.com/ciry79) , soon i\'ll upload also the source code, but now is really late here in Italy, i need to sleep ;)
-
I\'v imporved some code to grab players name for lists, now less load for server, and fixed GM commands, take a look at new release of my mods, now 1.0 ;)
-
Whoa!! Very nice Ciry. Looks good...can\'t wait to try it out.
It will give me an excuse to get back in game after a few weeks of inactivity. ;)
edit: ...and it only took 4 seconds to download. I like it already! ;)
-
Veeerrry nice! Great Job Ciry!
-
I made linux packages for Ciry\'s mods v1.1, but he did\'t update his site yet. Until he does, you can download it from here: http://www.freewebtown.com/alchemylab/#downloads
It works fine as far as i can tell, but some more testing on different machines would be fine ;)
-
Thanks Monketh and Mordaan. :))
Dunno why, but geocities prevents me from uploading .tar or .bz2 files, I was about to contact you for this but you have already thought, thanks Karosh! ;)
-
Very good mod Ciry but i have a question for you.
There is a button \"Rank\" on the guild list, can you explain me how to use it please ?
Thanks and continue
May Zelphir be with you !!!
-
This button\'s purpose is to display the ranks for the names in the list, but it doesn\'t work yet. You\'ll have to wait for a new version ;)
-
Ok, thanks very much Karosh :)
-
Just for fun, I made a proper patch out of Aineko\'s changes(diff -urN), as well as a few(non-proper :) scripts to modify keys.xml and planeshift.cfg without changing them (what can I say, I need sed practice badly ;)
http://members.shaw.ca/sklink/planeshift/
The intention was to make the process _look_ nicer on a Unix version :), plus to fix the compilation errors. PS client compiled nicely for me(SuSE 9.1), but I still can\'t build(link) psserver:
./out/linux/src/common/psbehave/libpsbehave.a(psbehave.o)(.text+0x1016): In function `psBehaviourActor::SendMessageV(char const*, iBase*, char*)\':
: undefined reference to `CmdHandler::Publish(char const*)\'
./out/linux/src/common/psbehave/libpsbehave.a(psbehave.o)(.text+0x1174): In function `psBehaviourActor::SendMessageV(char const*, iBase*, char*)\':
: undefined reference to `CmdHandler::Publish(char const*)\'
Haven\'t looked much into it yet, though...