Player Resource Consortium

 

Author Topic: [Solved]ConvoCC Issue  (Read 11032 times)

0 Members and 1 Guest are viewing this topic.

June 10, 2010, 12:09:41 PM
Reply #15

Code: [Select]
[Thu Jun 10 12:05:18] SLS :print /FirstName;print ' ';print /LastName;
[Thu Jun 10 12:05:18] SCRIPT >: %LETOTEST = q{/opt/nwn/ken/servervault/Kenquinn/rodorgeigerlson.bic}; print /FirstName;print ' ';print /LastName;close %LETOTEST;
[Thu Jun 10 12:05:18] SCRIPT <: Rodor Geigerlson
[Thu Jun 10 12:05:38] SELECT rowid, data FROM prc_cached2da WHERE file = 'gender' AND columnid = 'name' AND  rowid <= 1
[Thu Jun 10 12:05:38] NWNX_ODBC_FETCH row: 0¬156
[Thu Jun 10 12:05:38] SQL: RowID = 0
[Thu Jun 10 12:05:38] SQL: Data =
[Thu Jun 10 12:05:38] NWNX_ODBC_FETCH row: 1¬157
[Thu Jun 10 12:05:38] SQL: RowID = 1
[Thu Jun 10 12:05:38] SQL: Data =


Interesting it is not fetching the second field. I run "SELECT rowid, data FROM prc_cached2da WHERE file = 'gender' AND columnid = 'name' AND  rowid <= 1" manually into MySQL and it has the save behavior.

I do a second fetch to see if the gender data is missing entirely with
Code: [Select]
SELECT  data FROM prc_cached2da WHERE file = 'gender'

I get this output
Code: [Select]
+---------------+
| data          |
+---------------+
| GENDER_MALE   |
| GENDER_FEMALE |
| GENDER_BOTH   |
| GENDER_OTHER  |
| GENDER_NONE   |
| M             |
| F             |
| B             |
| O             |
| N             |
| ****          |
| ****          |
| ****          |
| ****          |
| ****          |
| 156           |
| 157           |
| 4771          |
| 201           |
| 202           |
+---------------+


That is every field from the gender.2da file so the data is their.

The server is Fedora 10 64 bit.
« Last Edit: June 10, 2010, 12:16:18 PM by KenquinnTheInsaneOne »


June 10, 2010, 12:32:52 PM
Reply #16
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

Now, there is nothing wrong with your NWNX, but...

My log:
Code: [Select]
[Thu Jun 10 15:19:58] NWNX_ODBC_FETCH row: 0¬156
[Thu Jun 10 15:19:58] SQL: RowID = 0
[Thu Jun 10 15:19:58] SQL: Data = Male


Your log:
Code: [Select]
[Thu Jun 10 12:05:38] NWNX_ODBC_FETCH row: 0¬156
[Thu Jun 10 12:05:38] SQL: RowID = 0
[Thu Jun 10 12:05:38] SQL: Data =


you did get the data from database, but the game can't convert that data to a text string. Now, i see two reasons why this would happen:
1. GetStringByStrRef() function doesn't work for some reason (engine function, can't help you if this is the case)
2. you've edited the default dialog.tlk file

Just to make it 100% sure, could you test the file i've attached, that's probably the last one...


June 10, 2010, 12:57:59 PM
Reply #17

Its alive its alive!!!!!

I found the issue when you mentioned a modified dialog.tlk file being able to cause the issue. I took a quick look at the directory I run the server out of it has no dialog.tlk file. I put one in and it works.

Thank you very much for all your time an effort on this issue. I apologize for not noticing this earlier.


June 10, 2010, 01:01:35 PM
Reply #18
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

Quote from: KenquinnTheInsaneOne

Its alive its alive!!!!!

I found the issue when you mentioned a modified dialog.tlk file being able to cause the issue. I took a quick look at the directory I run the server out of it has no dialog.tlk file. I put one in and it works.

Thank you very much for all your time an effort on this issue. I apologize for not noticing this earlier.


Great!!!

I'm happy I could help :)


June 10, 2010, 01:42:35 PM
Reply #19

Quote from: KenquinnTheInsaneOne

Its alive its alive!!!!!

I found the issue when you mentioned a modified dialog.tlk file being able to cause the issue. I took a quick look at the directory I run the server out of it has no dialog.tlk file. I put one in and it works.

Thank you very much for all your time an effort on this issue. I apologize for not noticing this earlier.


Heh, so you were missing custom content after all!
HEATSTROKE


June 10, 2010, 02:33:52 PM
Reply #20

Quote from: DM Heatstroke

Quote from: KenquinnTheInsaneOne

Its alive its alive!!!!!

I found the issue when you mentioned a modified dialog.tlk file being able to cause the issue. I took a quick look at the directory I run the server out of it has no dialog.tlk file. I put one in and it works.

Thank you very much for all your time an effort on this issue. I apologize for not noticing this earlier.


Heh, so you were missing custom content after all!
That is not custom content its a stock game file.


June 10, 2010, 02:36:33 PM
Reply #21

Quote from: KenquinnTheInsaneOne

Quote from: DM Heatstroke

Quote from: KenquinnTheInsaneOne

Its alive its alive!!!!!

I found the issue when you mentioned a modified dialog.tlk file being able to cause the issue. I took a quick look at the directory I run the server out of it has no dialog.tlk file. I put one in and it works.

Thank you very much for all your time an effort on this issue. I apologize for not noticing this earlier.


Heh, so you were missing custom content after all!
That is not custom content its a stock game file.


Oh I didn't catch that, you were missing the dialog.tlk, not the PRC tlk.
HEATSTROKE


June 10, 2010, 02:38:33 PM
Reply #22

A module wont even start without the tlk a module needs.
« Last Edit: June 10, 2010, 03:37:11 PM by KenquinnTheInsaneOne »


June 10, 2010, 07:34:23 PM
Reply #23

Quote from: KenquinnTheInsaneOne

A module wont even start without the tlk a module needs.


Well I'm glad you got it figured out.  Have you been able to make a PC yet?
HEATSTROKE


June 10, 2010, 07:42:13 PM
Reply #24

Yes I have why do you ask?


June 10, 2010, 10:26:02 PM
Reply #25

Quote from: KenquinnTheInsaneOne

Yes I have why do you ask?


Just checking really.  Going to post the server here when it's done?
HEATSTROKE


June 10, 2010, 10:53:38 PM
Reply #26

If I ever get it ready
« Last Edit: June 10, 2010, 10:58:15 PM by KenquinnTheInsaneOne »