Author Topic: Aineko's Guide to Client Modding  (Read 19827 times)

Seytra

  • Forum Addict
  • *
  • Posts: 2052
  • No system can compensate lack of common sense.
    • View Profile
(No subject)
« Reply #105 on: June 02, 2004, 09:59:07 pm »
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.

theRealGorbulas

  • Hydlaa Resident
  • *
  • Posts: 140
    • View Profile
(No subject)
« Reply #106 on: June 23, 2004, 06:21:44 am »
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.

zabeal

  • Hydlaa Citizen
  • *
  • Posts: 369
    • View Profile
(No subject)
« Reply #107 on: June 23, 2004, 06:35:17 am »
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! ;)

Quote
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!
« Last Edit: June 23, 2004, 06:39:01 am by zabeal »

Lux perpetua luceat eis

Psybur

  • Hydlaa Resident
  • *
  • Posts: 165
    • View Profile
(No subject)
« Reply #108 on: June 25, 2004, 04:33:01 pm »
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:

Ciry

  • Traveller
  • *
  • Posts: 46
    • View Profile
(No subject)
« Reply #109 on: June 26, 2004, 08:50:00 am »
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....

Tanyo

  • Traveller
  • *
  • Posts: 13
    • View Profile
(No subject)
« Reply #110 on: July 06, 2004, 07:05:44 pm »
ITs too hard for me!!!!!!!
I wont be doing Screenshots!!!!!!!!!!!!!
HELP!!!!!!!!!!!!!!!!!

dfryer

  • Veteran
  • *
  • Posts: 1070
    • View Profile
(No subject)
« Reply #111 on: July 06, 2004, 09:53:49 pm »
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.
Quidquid latine dictum sit, altum sonatur.

Ciry

  • Traveller
  • *
  • Posts: 46
    • View Profile
(No subject)
« Reply #112 on: July 09, 2004, 10:02:16 am »
I\'v made my own mods on MB, take a look at http://www.geocities.com/ciry79

Ciry

  • Traveller
  • *
  • Posts: 46
    • View Profile
(No subject)
« Reply #113 on: July 14, 2004, 10:19:38 pm »
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.... ;)

Ciry

  • Traveller
  • *
  • Posts: 46
    • View Profile
(No subject)
« Reply #114 on: July 15, 2004, 12:51:09 am »
Ok, done, the mods 0.9 are now avaiable at www.geocities.com/ciry79 , soon i\'ll upload also the source code, but now is really late here in Italy, i need to sleep  ;)

Ciry

  • Traveller
  • *
  • Posts: 46
    • View Profile
(No subject)
« Reply #115 on: July 17, 2004, 02:23:16 pm »
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  ;)

Mordaan

  • Developers
  • Hydlaa Notable
  • *
  • Posts: 839
    • View Profile
(No subject)
« Reply #116 on: July 19, 2004, 06:47:05 pm »
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!   ;)
« Last Edit: July 19, 2004, 07:19:00 pm by Mordaan »
--Overseer, Explorers Guild.

Monketh

  • Veteran
  • *
  • Posts: 1674
  • aka GovernmentAgent, CorporateAgent
    • View Profile
    • Niihama.ws
(No subject)
« Reply #117 on: July 20, 2004, 05:18:23 pm »
Veeerrry nice!  Great Job Ciry!
The key to manipulative bargaining is to ask for something twice as big as what you want, then smile and nod when you are talked down to your original wish. You are still young, my apprentice, and have much to learn in the ways of the force. -UtM

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #118 on: July 20, 2004, 06:02:22 pm »
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 ;)


Back to Planeshift again \\o/

Ciry

  • Traveller
  • *
  • Posts: 46
    • View Profile
(No subject)
« Reply #119 on: July 22, 2004, 10:57:29 am »
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!  ;)