Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ctlmo5

Pages: [1] 2 3
1
Development Deliberation / selling price
« on: September 18, 2007, 01:17:36 pm »
If i set a item sell_base_price is 100
so when i buy it, i have to pay 100
but if i sell it, i only can get 80
so  "how can i set the sell price from 80% to 100%"!?

any one know !?

2
Is that possible to support some quests with the random question and answer!?

I copy some quests from the cvs database and make some change for testing:

| 505 | 505      | P:quest2
Tester: What is the type of Car?[none, verb]

Assign Quest

...

P: none

T: OMG you did it!  I can't believe it.

Give 1 Tria                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|
| 506 | 506      | P:quest2

Tester: What is the type of run?[none, verb]

Assign Quest

...

P: verb

T: OMG you did it!  I can't believe it.

Give 1 Tria


OK! Now if i talk with npc "Tester" "quest2", the quest come up will be random.
But there have one big question,
Tester: What is the type of run?[none, verb]
The answer should be none.
however if i answer verb or none, i will still get correct.
That mean PS mix both answer of quest2 together.

So my question is: is it PS cannot support random question, or it can support but what i do is no currect!?


3
Development Deliberation / Re: add a new race
« on: September 03, 2007, 04:48:51 pm »
I can follow your reasoning to a point, but without specific examples I'm afraid you're losing me somewhere along the way. What exactly didn't work?

Did you create a completely new race and added it to race_info and common strings? Did you find any of the races information hardcoded in planeshift?

OK, let say the new race call "cat".
I added the "cat" to character.zip in art.
and i start to add new row in the planeshift database tables - common_strings and race_info

common_strings:
INSERT INTO `common_strings` VALUES (2700, 'cat');

race_info:
INSERT INTO `race_info` VALUES (32, 'Cat', 2700, 'M', -20.00, 4.00, -150.00, 0, 0, 0, 3, 0.00, 19, 100, 50, 50, 50, 50, 50, 50, 10, 10, 10, 10, 0, '');

NOW, i can change the race for the character i want.
In table - characters. racegender_id is the race for the character using, if i change the number to 32, that my character's race will be come a cat.

That is no program to just change the database to make the race work.
How about if i want to add/replace a new race in the "create character page" which is after you enter your user name and password and press "new character".

That page is control by two xml file - charcreate.xml and descriptions.xml

charcreate.xml - control the gui of "create character page". (data -> gui -> charcreate.xml)
For example:
<widget name="race1" factory="pawsRadioButton" id="1">
        <frame x="17" y="216" width="175" height="24"/>
        <text string="Cat" position="right"/>
</widget>
Now the name of the race in that page will show "cat".

descriptions.xml - control the description and the model you can see in that "create character page". (data -> races -> descriptions.xml)
For example:
<race   name="Cat"
            description="I am cat"           
            basetexture="1.png"
            male="cat"
       female="cat"
            male_available="yes"
            female_available="no">
    <FirstPos x="0" y="1.56" z="0" />   
 </race>
The cat model will be show in the middle of the create page.


Now, if i choose "cat" for my new character to join the game, the character in the game will not be my model "cat", that will be the org-planeshift model.

My Question is how to make the model able to load in the game by using "create character page".

4
Development Deliberation / add a new race
« on: September 02, 2007, 08:35:38 am »
Hello:
  If i have a new character(model), and i added into character.zip in the "art". And i set the database table "common_strings" and "race_info". Now i can change the "racegender_id" in table "character" to show my the model for the character. However, if i want to change the race when i crate a character in the game - planeshift!?

I know there have two xml  and a cpp file is related to character, that is charcreate.xml and descriptions.xml and psraceinfo.cpp. So it is possible to create the character with my new model(new race) without changing the cpp file?
If the answer is "NO", how can i changed that cpp file, because i tried already, and i am failed.


5
Development Deliberation / Re: teleport from the map like deathrealm!?
« on: August 15, 2007, 12:19:16 pm »
i can create 3 boxes in 3 different Scene just like ( http://b2cs.delcorp.org/index.php/Portal_tutorial )

but i export it to PS, and i load into the map, the portal is look really like "wave" or it may better to say that look like with out the texture

and i see there have many "flag" like zfill, float, clip, mirror, static, noautoresol, clipstraddlin viscull

which one should i use, if i just want to make a portal pass though different scene

*edit*

I think i found the answer

THX  :)

[ No double-posting please. --Karyuu ]

6
Development Deliberation / teleport from the map like deathrealm!?
« on: August 14, 2007, 10:44:30 am »
Dear: everyone

i am so interesting the effect i can see in the deathrealm (the map will the player die).
The door in deathrealm is connected to other map.
and i just need to walk in there i will auto-sent to other map.
How to make that!?

i know there have a command "teleport", but i don't is that relate to the map

i know how to build a map, and i want to build a map with a door, if player walk in that door, player will be sent to other map

i ready want to make that.

can any one give me some hint for that!?
Thank You So Much :)

7
Development Deliberation / Re: create new quest!?
« on: August 03, 2007, 11:49:43 am »
direct sql injection or via the server console?
sorry i do not understand :(

8
Development Deliberation / create new quest!?
« on: August 02, 2007, 02:02:45 pm »
Hello, i am able to create  new quest.
just set the new row in database -> table -> quests
and set the new row in database -> table -> quest_scripts

and i create a quest for npc "Merchant"
i just need to say "questtest" and answer "done", then the quest is done.
And this quest is work perfectly on the npc "Merchant"

So, i change the quest to the npc "testerone" (testerone is the npc i created)
the way i change the quest is replay the name "Merchant" to "testerone".

and i test in PS, i say "questtest", the quest question is come out, and i say "done", it cannot finish the quest!!!
what is going on!?  ??? ??? ??? ???

and i can see " ErrorResponse: Trying to find trigger 'done' " in the server

What should i do to make the quest work (the quest is work on the cvs npc but it is not work on the npc i made, and the quest is created not modified from cvs quest)


9
Development Deliberation / Re: too much shadow
« on: July 29, 2007, 01:58:23 pm »

Yes, that is exactly what i want. Thank you so much :)

10
Development Deliberation / Re: too much shadow
« on: July 28, 2007, 01:45:56 pm »
i read  http://www.math.sunysb.edu/~sorin/online-docs/blender/html/x4430.html
and all change to 1.0
but
i cannot see any different in planeshift when i use --relight
and i use walktest in CS to test my map, and the shadow part is no completely dark now.

However, that only happen in CS not PS what should i do!?

11
Development Deliberation / too much shadow
« on: July 27, 2007, 02:26:32 pm »
Hello! i use blender to build a map with many boxes in it, and  i export it to PS, and use --relight to run PS.
the may is work perfectly fine, except one thing - there have too much shadow, and that shadow is completely dark. I believe this is because the map included many boxes, but i also before there must have some way to fix it. because in the real world, no shadow should be completely dark. However i tried all the different type of light and the problem is still there. And i try to use the "ambient light", but i don't know how to do it.


Can any one have this problem before and know how to fix it? (i don't want to any more than one light)
Please help me if you know that, because i spent a whole day and still have no idea :(

12
Development Deliberation / Re: PS 2007.05.07.00.00.00 quest error!?
« on: July 21, 2007, 03:17:21 pm »
i do not have the more update cvs code.
if i only want to fix this problem, can i only download few cvs code and rebuild the PS!?

13
Development Deliberation / PS 2007.05.07.00.00.00 quest error!?
« on: July 20, 2007, 02:12:09 pm »
Hello, i downloaded and built the planeshift version 2007.05.07.00.00.00.
i find out there have error, if i type "can bring you" to npc (Merchant), and i will have a quest.
The quest ask me to give he a "Steel Falchion".
I gave him a Steel Falchion, and the quest is completed.
Now i can see i only have one item in the "server"(there have two items before i give the Steel Falchion to Merchant)
Sending 1 items...
   Inv item Claymore, slot 17, weight 9.0, stack count 1
In ~Exchange()

And i open the "Inventory", there have one item (seen correct).
However if i check the "server" now, i can see there have two items.
Sending 1 items...
   Inv item Claymore, slot 17, weight 9.0, stack count 1
In ~Exchange()
Sending 2 items...
   Inv item Claymore, slot 17, weight 9.0, stack count 1

And the "server" will die in next several seconds.

I restart the server and i can find the Steel Falchion still on my Inventory.

I think the client and server and no synchronize, and i can see the Segmentation fault after the server is died.

I test this error on both windows xp and mac 10.4.10.

How can i fix this problem!?

14
Development Deliberation / Re: Make the monster attack?
« on: July 02, 2007, 12:18:08 pm »
You can try to jam psnpcclient and see if that helps

I know
the npcclient is already build, it is call psnpcclient
Thx

15
Development Deliberation / Re: Make the monster attack?
« on: July 02, 2007, 12:08:09 pm »
you need to run the npcclient as well that is what makes the npcs attackable.

What you mean run it?
Is it the same way i run the psclient.exe or ./psclient?

Well that depends on what OS you have as you have not posted that i cant say what way to use to start it.

i am using mac and windows xp, i build PS on both of the OS, in my PS i only have npcclient.cfg so i have to "build" the npcclient?

Pages: [1] 2 3