Jump to content
Eternal Lands Official Forums

DarkWarriorBOW

Members
  • Content count

    62
  • Joined

  • Last visited

Everything posted by DarkWarriorBOW

  1. Can anyone enlighten me on why I am getting this ? Compiling... cal3d_wrapper.cpp H:\Development\EL\elc\cal3d_wrapper.cpp(6) : error C2491: 'CalModel_GetAttachedMesh' : definition of dllimport function not allowed H:\Development\EL\elc\cal3d_wrapper.cpp(11) : error C2491: 'CalCoreSkeleton_Scale' : definition of dllimport function not allowed H:\Development\EL\elc\cal3d_wrapper.cpp(17) : error C2491: 'CalMixer_ExecuteAction_Stop' : definition of dllimport function not allowed H:\Development\EL\elc\cal3d_wrapper.cpp(22) : error C2491: 'CalMixer_RemoveAction' : definition of dllimport function not allowed H:\Development\EL\elc\cal3d_wrapper.cpp(27) : error C2491: 'CalCoreAnimation_Scale' : definition of dllimport function not allowed H:\Development\EL\elc\cal3d_wrapper.cpp(32) : error C2491: 'CalCoreMesh_Scale' : definition of dllimport function not allowed Error executing cl.exe. many thanks in advance.
  2. definition of dllimport function not allowed

    Seems you were right. That indeed fixed the problem and now it finally compiles. YAY. And once I figure out why my own build is as slow as a snale in hybernation, I am going to sit back and pat myself on the shoulder for not having such an incredible disorganized and undocumenting development team under my command LOL. Thanks for all your help Lhibou and ttan.
  3. definition of dllimport function not allowed

    Hmm sorry, but that doesnt seem to do anything for me. I still get the same errors. Somehow those functions are not available to the project or something. Like I am forgetting to include some kind of package.
  4. definition of dllimport function not allowed

    I confirmed that and items.c(h) is in the project and is getting compiled. has to be something else then.
  5. definition of dllimport function not allowed

    Ok.. one other problem that I can't seem to fix on my own. Anyone know how to fix this one ? I am quite sure its easy, i just can't figure it out. Linking... Creating library C:\Eternal Lands\EternalLands.lib and object C:\Eternal Lands\EternalLands.exp trade.obj : error LNK2001: unresolved external symbol _get_items_texture bags.obj : error LNK2001: unresolved external symbol _get_items_texture hud.obj : error LNK2001: unresolved external symbol _get_items_texture manufacture.obj : error LNK2001: unresolved external symbol _get_items_texture storage.obj : error LNK2001: unresolved external symbol _get_items_texture C:\Eternal Lands\EternalLands.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. EternalLands.exe - 6 error(s), 273 warning(s) By the way, what's with the thread system of this messageboard. It totally sucks i hate it. Is the old system still available ?
  6. definition of dllimport function not allowed

    cool, that worked, thanks.. Now i am left with some undefined external symbols on a handful of files, but i'll try and figure that out on my own first. so much for documentation...
  7. Texture Flickering

    Hi, I was wondering if anyone could explain and perhaps give me a solution to the texture flickering problem. It is especially bad with the Geforce FX5200, but it also happens on the Radeon card. The textures flash dark, not bright, and on the geforce the flickering is clearly tiled while on the radeon its more random. It happens on both the CVS compile as well as the standard release. anyone ? Update : It mainly happens on the Geforce card where there is green stuff around (grass, trees etc). the greener, the worse it gets. On the radeon its everywhere.
  8. He's In His Happy Place

    And you should finally grow up and think before you actually say something. Everyone is entitled to their own opinion, and clearly, you disrespect that. Many people regard children as something really precious and thus are seriously offended when they see this shit pulled with them. Can you actually understand that ? No ? Than your lack of empathy and ability to see something from someone else's point of view is not their flaw but yours alone. I agree, the baby wasnt hurt, altho its obviously crying and genuinly not liking the position it's in, it really crosses the line of good taste with the majority of the world population. If you can't see that.. well.. hire a PR manager lol. you obviously need one. i'm done with this thread. some threads you just dont want to see because you'll inevitably be confronted with other people's sicknesses.
  9. He's In His Happy Place

    -sigh- I wonder how it is possible that people that do THIS to their child actually can have children and that people who wish for children and would be great parents, can't conceive them. This is plain sick beyond description. fubar. period. poor child.
  10. Undefined Reference To _imp__xmlfree ?

    Well, getting EL to compile with only one error.. namely this one : notepad.o:notepad.c:(.text+0x5be): undefined reference to `_imp__xmlFree' Anyone know how to get rid of this one ? Here is the complete compiler output : gcc.exe 2d_objects.o 3d_objects.o actor_scripts.o actors.o asc.o books.o buddy.o cache.o chat.o colors.o console.o consolewin.o cursors.o dialogues.o draw_scene.o elconfig.o elwindows.o encyclopedia.o errors.o events.o filter.o font.o frustum.o gamewin.o gl_init.o help.o hud.o ignore.o init.o interface.o items.o keys.o knowledge.o lights.o loginwin.o main.o manufacture.o map_io.o mapwin.o md2loader.o md5.o misc.o multiplayer.o new_actors.o new_character.o notepad.o openingwin.o options.o particles.o paste.o pathfinder.o pm_log.o questlog.o reflection.o rules.o sector.o shadows.o sound.o spells.o stats.o storage.o tabs.o text.o textures.o tile_map.o timers.o trade.o translate.o weather.o widgets.o Eternal_Lands_private.res -o "Eternal Lands.exe" -L"C:/Dev-Cpp/iconv-1.9.1.win32/lib" -L"lib" -L"C:/Dev-Cpp/libxml2-2.6.19+.win32/lib" -L"C:/Dev-Cpp/oggvorbis-win32sdk-1.0.1/lib" -mwindows -lSDL -lopengl32 -llibxml2 -lSDL_net -lALut -lOpenAL32 -lvorbisfile -liberty C:/Dev-Cpp/iconv-1.9.1.win32/lib/iconv.lib -mwindows Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized notepad.o:notepad.c:(.text+0x5be): undefined reference to `_imp__xmlFree' collect2: ld returned 1 exit status make.exe: *** ["Eternal] Error 1 Gracias for any help you can give me. DW
  11. Undefined Reference To _imp__xmlfree ?

    Nope. will do asap and let you know
  12. Optimizing The Renderer

    LOL.. oh.. Well eehmm.. it didnt show this in the original CVS for me. Good that this vbo thing also fixes that
  13. Awareness Of 3d_objects

    You could make the bot aware of its own hunger, and then start to eat the edible things in inv. If it doesnt have that anymore, then there is a problem. I assume you already got this far : You could do the following. I won't go into details as i never coded a bot before, but i'll point anyway. There is a list of items in your Eternal Lands folder that's named 'harvestable.lst' I suggest, pick out the edibles and compare them with your surroundings. if you find an edible harvestable object, walk to it and harvest, if not, move on and run that again. you can compare the harvestable list with the e3dobjects list get the ID codes. Again, this is not the set in stone procedure, but my take on how i would tackle your problem. If anyone knows better or could fill in the huge gaps, please be my guest oh, if you manage to get it done, would you mind sharing how you did it ? Thinking of coding my own bot sometime..
  14. Optimizing The Renderer

    Ok, well, here it is Solid as a rock up to now. BUT It keeps giving me weird spikes on Isla Prima.. Altho it looks cool, i hardly believe its intended to be this way : Any ideas ? p.s. One thing i need to add. up to now this use of VBO also rids me of that insanely annoying texture flashing. I will try it on the NVidia chipset asap and see what happens there *crosses fingers* EDIT : no such luck on the NVidia chipset
  15. Optimizing The Renderer

    LOL Well, what you just said gave me an idea. yes i downloaded it straight to my hd all the time, and not copy and paste it into notepad as i assumed that would fubar it. So, I decided to go against the rules and do exactly that. And guess what.. patches in without a problem, even on my expirimental sources. How nice how windows manages to fux0r downloading a simple text file up and leaving you digging out a problem for hours. Do more in less time you said ?
  16. Optimizing The Renderer

    lol. i lost count on how many times i downloaded that thing. hmmm... maybe windows fuX0rz it up..
  17. Optimizing The Renderer

    Alas I lack time to dig into it. Got some other projects running as well. It's strange tho, as it went haywire with the last 2 updates on that patch.. Maybe if im in the mood i'll patch it in by hand. Timeconsuming, but always works. Sorry that I can't help debug it.
  18. Optimizing The Renderer

    ok.... Well, i deleted the CVS mastertree, and redownloaded it, so it can't get any cleaner than that.. Tried to apply it again.. same results. Copied the tree to my devrig and tried to patch.. again same results.. <_< it's a conspiracy.....
  19. Optimizing The Renderer

    @Wytter : Still no good. same problem You could be right, altho the patch I am using is GNU compliant and should be able to read it. In fact, it DID read it correctly first time and applied without complaining. Odd.. Time to have the linux rig a go at it. @crusadingknight : Because in *nix, there is no difference between binary or textfile, and therefore, i treat all files that come from such a system as a binary. It is the only way that for example patch will read it as it should. (no cr/lf at the end of each line) info on what kind of patch i am using : patch 2.5.4 Copyright 1984-1988 Larry Wall Copyright 1989-1999 Free Software Foundation, Inc. This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of this program under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. written by Larry Wall and Paul Eggert --- fyi, its the same that comes with virtually any linux flavor update : trying it on my devrig : Sorry, i give up LOL.
  20. Optimizing The Renderer

    Well, to humor you again, here you go again : D:\CVS SOURCES\Eternal Lands\Kopie van elc>patch -i vbo.diff.txt --binary patching file 3d_objects.c Hunk #3 FAILED at 34. Hunk #5 FAILED at 61. Hunk #6 FAILED at 66. Hunk #7 FAILED at 71. Hunk #8 FAILED at 95. Hunk #9 FAILED at 129. Hunk #10 FAILED at 130. Hunk #11 FAILED at 137. Hunk #12 FAILED at 146. Hunk #13 FAILED at 147. Hunk #14 FAILED at 162. Hunk #15 FAILED at 164. 12 out of 21 hunks FAILED -- saving rejects to file 3d_objects.c.rej patching file alphamap.c Hunk #1 FAILED at 162. Hunk #2 FAILED at 165. Hunk #3 FAILED at 169. Hunk #4 FAILED at 176. Hunk #5 FAILED at 232. 5 out of 5 hunks FAILED -- saving rejects to file alphamap.c.rej patching file e3d.h patching file gl_init.c patching file gl_init.h patching file map_io.c Hunk #1 FAILED at 51. 1 out of 1 hunk FAILED -- saving rejects to file map_io.c.rej patching file reflection.c Hunk #1 FAILED at 198. Hunk #2 FAILED at 219. Hunk #3 FAILED at 220. 3 out of 5 hunks FAILED -- saving rejects to file reflection.c.rej patching file shadows.c Hunk #1 FAILED at 221. Hunk #2 FAILED at 229. Hunk #3 FAILED at 241. Hunk #4 FAILED at 242. Hunk #5 FAILED at 246. Hunk #9 FAILED at 548. Hunk #12 FAILED at 612. 7 out of 13 hunks FAILED -- saving rejects to file shadows.c.rej D:\CVS SOURCES\Eternal Lands\Kopie van elc> That is trying to patch it into a copy my master CVS source that i -always- keep clean in case of screw up and to diff my experimental version against so that i can keep track of newest developments without losing my own work. Trust me on this one after 22 years of coding, i tend to know what I am doing
  21. Portland Bug

    oh man oh man, don't tell me you got brainwashed too by Bill Goats fanatics at some stupid MCSE class..
  22. Optimizing The Renderer

    I don't know what you did, but i can't use the diff file anymore to patch into my clean CVS tree. only the patching in 3d_objects.c works, the rest gets rejected.. C:\Documents and Settings\blahblahusernameblah\Mijn documenten\C++ Projecten\elc>patch .diff.txt --binary patching file 3d_objects.c patching file alphamap.c Hunk #1 FAILED at 162. Hunk #2 FAILED at 165. Hunk #3 FAILED at 169. Hunk #4 FAILED at 176. Hunk #5 FAILED at 232. 5 out of 5 hunks FAILED -- saving rejects to file alphamap.c.rej patching file e3d.h patching file gl_init.c patching file gl_init.h patching file map_io.c Hunk #1 FAILED at 51. 1 out of 1 hunk FAILED -- saving rejects to file map_io.c.rej patching file reflection.c Hunk #1 FAILED at 198. Hunk #2 FAILED at 219. Hunk #3 FAILED at 220. 3 out of 5 hunks FAILED -- saving rejects to file reflection.c.rej patching file shadows.c Hunk #1 FAILED at 221. Hunk #2 FAILED at 229. Hunk #3 FAILED at 241. Hunk #4 FAILED at 242. Hunk #5 FAILED at 246. Hunk #9 FAILED at 548. Hunk #12 FAILED at 612. 7 out of 13 hunks FAILED -- saving rejects to file shadows.c.rej did some heavy moving around in the code ?
  23. Optimizing The Renderer

    I am using Catalyst 5.4 drivers. Since i am using a laptop, and driver support from laptop vendors is as lame as it gets. (newest drivers for my laptop from Acer are still Catalyst 4.something) i use the Omega drivers. (www.omegadrivers.net) All laptop users that can't find current video drivers for their laptop i can recommend to get their drivers from there. Omega has both Detonator and Catalyst drivers that work on virtually ANY card, wether it be laptop or not. laptop producers suck lol.
  24. Optimizing The Renderer

    Ok, humored you and compiled a clean CVS and patched it. It instantly crashed on resizing the client 3 times in a row. did not try a fourth time. Same problems still occur sorry. oh, and the patch also breaks the use of alpha borders. (the shadows under the windows)
  25. Optimizing The Renderer

    @ Espenfjo : LOL, check the patches on berlios @Wytter : I am not sure if i can reproduce it. could have been an 'accident'. I am using the 16kb patch, I assume that is the new one. It took about 20 secs to crash and die, it didnt do that anymore after the first crash. but then again, i haven't given it enough time. Texture misalignments and screwed up objects are common and everywhere at all times (look at the barrels in the screenshot). Yes I am using a custom client. That means, the latest (todays actually) source with only the coordinates patch, tag color and research bar. I dont see where it should screw up there. but ill humor you lol gonna compile a clean CVS.
×