Advertisement
Civilization Fanatics' Center  

Welcome to Civilization Fanatics' Center.

You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Project & Mod Development > Inactive Projects > Civ4 - Star Wars Mod

Notices

Reply
 
Thread Tools
Old Aug 10, 2009, 11:40 AM   #181
civ editor11
Ruler
 
civ editor11's Avatar
 
Join Date: Jan 2009
Location: U.S.
Posts: 999
No but I'll add them in soon
__________________
aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can.
Click here to feel my wrath Click here not to feel my wrath
Help us with the Star Wars Mod and World 2009 Join us
civ editor11 is offline   Reply With Quote
Old Aug 10, 2009, 12:03 PM   #182
TC01
Deity
 
TC01's Avatar
 
Join Date: Jun 2009
Location: Irregularly Online
Posts: 2,109
Images: 2
Quote:
Originally Posted by civ editor11 View Post
No but I'll add them in soon
Then that is your C++ exception.
TC01 is offline   Reply With Quote
Old Aug 10, 2009, 12:08 PM   #183
civ editor11
Ruler
 
civ editor11's Avatar
 
Join Date: Jan 2009
Location: U.S.
Posts: 999
Could you make Ion pulse weaken the target a little?
__________________
aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can.
Click here to feel my wrath Click here not to feel my wrath
Help us with the Star Wars Mod and World 2009 Join us
civ editor11 is offline   Reply With Quote
Old Aug 10, 2009, 12:22 PM   #184
civ editor11
Ruler
 
civ editor11's Avatar
 
Join Date: Jan 2009
Location: U.S.
Posts: 999
New errors

Code:
Traceback (most recent call last):
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "<string>", line 1, in ?
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "<string>", line 52, in load_module
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "CvEventInterface", line 13, in ?
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "<string>", line 52, in load_module
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "CvEventManager", line 14, in ?
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "<string>", line 52, in load_module
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "CvScreensInterface", line 19, in ?
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "<string>", line 52, in load_module
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "CvDanQuayle", line 8, in ?
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "<string>", line 35, in load_module
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "<string>", line 13, in _get_code
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
CvGameUtils
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
", line 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
447
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface

ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
    
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
elif (iData1 = 672):
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
    
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
^
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
SyntaxError
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
: 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
invalid syntax
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface

ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
Failed to load python module CvEventInterface.
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
__________________
aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can.
Click here to feel my wrath Click here not to feel my wrath
Help us with the Star Wars Mod and World 2009 Join us
civ editor11 is offline   Reply With Quote
Old Aug 10, 2009, 12:40 PM   #185
TC01
Deity
 
TC01's Avatar
 
Join Date: Jun 2009
Location: Irregularly Online
Posts: 2,109
Images: 2
Quote:
Originally Posted by civ editor11 View Post
Could you make Ion pulse weaken the target a little?
Well, the point is that it adds the promotion PROMOTION_ION_PULSED. So you have to decide what that promotion does.

You can make it, for instance, grant a -10 or a -20 or even a -50 to combat strength if you want.

But the promotion wears off on the next turn.

All of the promotions I listed in that function are like this.


As for those errors- do you get any in-game failures or problems, or just those errors?
TC01 is offline   Reply With Quote
Old Aug 10, 2009, 12:44 PM   #186
civ editor11
Ruler
 
civ editor11's Avatar
 
Join Date: Jan 2009
Location: U.S.
Posts: 999
Those errors but thats when it loads up so i didn't try to play a game
__________________
aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can.
Click here to feel my wrath Click here not to feel my wrath
Help us with the Star Wars Mod and World 2009 Join us
civ editor11 is offline   Reply With Quote
Old Aug 10, 2009, 12:47 PM   #187
TC01
Deity
 
TC01's Avatar
 
Join Date: Jun 2009
Location: Irregularly Online
Posts: 2,109
Images: 2
Quote:
Originally Posted by civ editor11 View Post
Those errors but thats when it loads up so i didn't try to play a game
But do you actually get them when loading the game, or only in the log?

Since what change have they been occuring?
TC01 is offline   Reply With Quote
Old Aug 10, 2009, 12:55 PM   #188
civ editor11
Ruler
 
civ editor11's Avatar
 
Join Date: Jan 2009
Location: U.S.
Posts: 999
They started after I downloaded the python folder you posted here a while ago
__________________
aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can.
Click here to feel my wrath Click here not to feel my wrath
Help us with the Star Wars Mod and World 2009 Join us
civ editor11 is offline   Reply With Quote
Old Aug 10, 2009, 03:04 PM   #189
civ editor11
Ruler
 
civ editor11's Avatar
 
Join Date: Jan 2009
Location: U.S.
Posts: 999
I've removed many of my files from here because anyone can get the updated version at the current download
__________________
aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can.
Click here to feel my wrath Click here not to feel my wrath
Help us with the Star Wars Mod and World 2009 Join us
civ editor11 is offline   Reply With Quote
Old Aug 10, 2009, 05:34 PM   #190
civ editor11
Ruler
 
civ editor11's Avatar
 
Join Date: Jan 2009
Location: U.S.
Posts: 999
I tried playing a game and this happened

Code:
Traceback (most recent call last):
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "<string>", line 1, in ?
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "<string>", line 52, in load_module
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "CvEventInterface", line 13, in ?
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "<string>", line 52, in load_module
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "CvEventManager", line 14, in ?
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "<string>", line 52, in load_module
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "CvScreensInterface", line 19, in ?
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "<string>", line 52, in load_module
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "CvDanQuayle", line 8, in ?
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "<string>", line 35, in load_module
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "<string>", line 13, in _get_code
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
  File "
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
CvGameUtils
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
", line 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
447
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface

ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
    
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
elif (iData1 = 672):
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
    
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
^
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
SyntaxError
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
: 
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
invalid syntax
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface

ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
Failed to load python module CvEventInterface.
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function pediaShow failed. Can't find module CvScreensInterface
ERR: Call function pediaShow failed. Can't find module CvScreensInterface
ERR: Call function pediaShow failed. Can't find module CvScreensInterface
ERR: Call function pediaShow failed. Can't find module CvScreensInterface
ERR: Call function pediaShow failed. Can't find module CvScreensInterface
ERR: Call function pediaShow failed. Can't find module CvScreensInterface
ERR: Call function pediaShow failed. Can't find module CvScreensInterface
ERR: Call function showHallOfFame failed. Can't find module CvScreensInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
Note: this includes the ones when the game starts
__________________
aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can.
Click here to feel my wrath Click here not to feel my wrath
Help us with the Star Wars Mod and World 2009 Join us
civ editor11 is offline   Reply With Quote
Old Aug 10, 2009, 05:55 PM   #191
TC01
Deity
 
TC01's Avatar
 
Join Date: Jun 2009
Location: Irregularly Online
Posts: 2,109
Images: 2
Code:
elif (iData1 = 672):
This line should be changed to:

Code:
elif (iData1 == 672):
It's in CvGameUtils, I think it's line 447, but if it's not, you can search for it.
TC01 is offline   Reply With Quote
Old Aug 11, 2009, 06:38 AM   #192
civ editor11
Ruler
 
civ editor11's Avatar
 
Join Date: Jan 2009
Location: U.S.
Posts: 999
Heres the python error log This stays up for the entire time and I have to exit out of Bts
Attached Files
File Type: 7z PythonErr.7z (607 Bytes, 18 views)
__________________
aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can.
Click here to feel my wrath Click here not to feel my wrath
Help us with the Star Wars Mod and World 2009 Join us
civ editor11 is offline   Reply With Quote
Old Aug 11, 2009, 08:22 AM   #193
TC01
Deity
 
TC01's Avatar
 
Join Date: Jun 2009
Location: Irregularly Online
Posts: 2,109
Images: 2
Code:
Traceback (most recent call last):

  File "CvScreensInterface", line 251, in pediaJumpToLeader

  File "CvPediaMain", line 897, in pediaJump

  File "CvPediaLeader", line 86, in interfaceScreen

RuntimeError: unidentifiable C++ exception
ERR: Python function pediaJumpToLeader failed, module CvScreensInterface
This means that a leader's art define is incorrect or missing, I think. I suggest you check your leader art.

Code:
Traceback (most recent call last):

  File "CvEventInterface", line 23, in onEvent

  File "CvEventManager", line 193, in handleEvent

  File "CvEventManager", line 347, in onGameStart

  File "StarWarsUtils", line 34, in assignPlanets

IndexError: list index out of range
ERR: Python function onEvent failed, module CvEventInterface
For this, now that we've fixed the mapscript, I can move the code used to assign random planet scripts directly into the mapscript (which will be a lot better). So I want you to remove the def assignPlanets function from StarWarsUtils.py (lines 30 to 41), and it's function call in CvEventManager in onGameStart, which should be line 347 and look like this:

Code:
		StarWars.assignPlanets()
Then, can you please attach the fixed mapscript?

Code:
Traceback (most recent call last):

  File "CvScreensInterface", line 705, in forceScreenRedraw

  File "CvMainInterface", line 721, in redraw

  File "CvMainInterface", line 1534, in updateSelectionButtons

AttributeError: 'NoneType' object has no attribute 'getButton'
ERR: Python function forceScreenRedraw failed, module CvScreensInterface
From 1533 to 1536 in CvMainInterface.py, overwrite those lines with this:

Code:
						if pUnit.isHasPromotion(gc.getInfoTypeForString('PROMOTION_LIGHT_SIDE_3')):
							screen.appendMultiListButton( "BottomButtonContainer", gc.getPromotionInfo(gc.getInfoTypeForString('PROMOTION_LIGHT_SIDE_3')).getButton(), 0, WidgetTypes.WIDGET_GENERAL, 663, 663, False )
							screen.show( "BottomButtonContainer" )
							iCount = iCount + 1
TC01 is offline   Reply With Quote
Old Aug 11, 2009, 12:15 PM   #194
civ editor11
Ruler
 
civ editor11's Avatar
 
Join Date: Jan 2009
Location: U.S.
Posts: 999
Sorry i knew the leader art define was wrong.
__________________
aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can.
Click here to feel my wrath Click here not to feel my wrath
Help us with the Star Wars Mod and World 2009 Join us
civ editor11 is offline   Reply With Quote
Old Aug 11, 2009, 12:38 PM   #195
civ editor11
Ruler
 
civ editor11's Avatar
 
Join Date: Jan 2009
Location: U.S.
Posts: 999
These are the newest errors first is from when you use Mind Trick, second when I try to use ion pulse

Code:
Traceback (most recent call last):

  File "CvEventInterface", line 23, in onEvent

  File "CvEventManager", line 193, in handleEvent

  File "CvEventManager", line 520, in onPlotPicked

UnboundLocalError: local variable 'iDmgRnd' referenced before assignment
ERR: Python function onEvent failed, module CvEventInterface
Code:
Traceback (most recent call last):

  File "CvEventInterface", line 23, in onEvent

  File "CvEventManager", line 193, in handleEvent

  File "CvEventManager", line 520, in onPlotPicked

UnboundLocalError: local variable 'iDmgRnd' referenced before assignment
ERR: Python function onEvent failed, module CvEventInterface
__________________
aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can.
Click here to feel my wrath Click here not to feel my wrath
Help us with the Star Wars Mod and World 2009 Join us
civ editor11 is offline   Reply With Quote
Old Aug 11, 2009, 01:35 PM   #196
TC01
Deity
 
TC01's Avatar
 
Join Date: Jun 2009
Location: Irregularly Online
Posts: 2,109
Images: 2
I thought I fixed this...

You need to remove the first plus sign (highlighted in red) from the line below:

Code:
		iDmgRnd += 25 + CyGame().getSorenRandNum(25, "Force Power")
TC01 is offline   Reply With Quote
Old Aug 11, 2009, 02:01 PM   #197
civ editor11
Ruler
 
civ editor11's Avatar
 
Join Date: Jan 2009
Location: U.S.
Posts: 999
I got this after we did all those fixes so we might still have to do some of them
__________________
aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can.
Click here to feel my wrath Click here not to feel my wrath
Help us with the Star Wars Mod and World 2009 Join us
civ editor11 is offline   Reply With Quote
Old Aug 11, 2009, 02:13 PM   #198
civ editor11
Ruler
 
civ editor11's Avatar
 
Join Date: Jan 2009
Location: U.S.
Posts: 999
I haven't found any more bugs you done a great job
__________________
aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can.
Click here to feel my wrath Click here not to feel my wrath
Help us with the Star Wars Mod and World 2009 Join us
civ editor11 is offline   Reply With Quote
Old Aug 11, 2009, 03:25 PM   #199
civ editor11
Ruler
 
civ editor11's Avatar
 
Join Date: Jan 2009
Location: U.S.
Posts: 999
Heres the python folder I'm using now
I hope you find it useful
Attached Files
File Type: 7z Python.7z (30.6 KB, 18 views)
__________________
aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. fi yuo cna raed tihs, palce it in yuor siantugre. Olny 55% of plepoe can.
Click here to feel my wrath Click here not to feel my wrath
Help us with the Star Wars Mod and World 2009 Join us
civ editor11 is offline   Reply With Quote
Old Aug 13, 2009, 06:49 PM   #200
TC01
Deity
 
TC01's Avatar
 
Join Date: Jun 2009
Location: Irregularly Online
Posts: 2,109
Images: 2
Thanks.


It just occured that somewhere, mixed up among the bug reports, there was a request to make hero units.

No python is necessary for this. You need to do some simple XML modification.

Code:
		<UnitClassInfo>
			<Type>UNITCLASS_DARTH_VADER</Type>
			<Description>TXT_KEY_UNIT_DARTH_VADER</Description>
			<iMaxGlobalInstances>1</iMaxGlobalInstances>
			<iMaxTeamInstances>1</iMaxTeamInstances>
			<iMaxPlayerInstances>1</iMaxPlayerInstances>
			<iInstanceCostModifier>0</iInstanceCostModifier>
			<DefaultUnit>UNIT_DARTH_VADER</DefaultUnit>
		</UnitClassInfo>
This is Vader's unit class. It prevents you from making him more then once, for any player or team.

Code:
			<Units>
				<Unit>
					<UnitClassType>UNITCLASS_DARTH_VADER</UnitClassType>
					<UnitType>NONE</UnitType>
				</Unit>
			</Units>
This is the <Units> tag in CIV4CivilizationInfos.xml. It's where unique units are defined. However, here, we are making no other civ able to build Darth Vader except the civ who should (Empire, I assume). By saying that for this unitclass, whatever civ this is can build no unit, we essentially make him a hero unit.
TC01 is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > Civ4 - Project & Mod Development > Inactive Projects > Civ4 - Star Wars Mod > Python Modding

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginning Python modding, need some help Flintlock1415 Civ4 - SDK/Python 4 Mar 16, 2009 09:17 PM
[Python] Jeckel's Modding Utilities Jeckel Civ4 - Mod Components 4 Jun 19, 2007 10:39 PM
Quick question about modding with Python Norseman2 Civ4 - Creation & Customization 2 Aug 05, 2006 12:59 PM
The Python-modding tutorial zyNdr0m Civ4 - Creation & Customization 10 Dec 03, 2005 03:19 AM
Tips From a Firaxian on Modding XML and Python Jon Shafer Civ4 - Creation & Customization 5 Oct 30, 2005 08:41 AM


Advertisement

All times are GMT -6. The time now is 07:49 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR