• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.


  • Content count

  • Joined

  • Last visited

Community Reputation

108 Neutral

About hiigara

  • Rank
  1. The only way to do it is to add the parent directory to the module search path. I don't have the details. I read about it in stackoverflow a while ago.
  2. I was asked to sell one of my .com domains and I refused. But I don't have a trademark. I am afraid that the guy will register the trademark and take it away from me. How much does a trademark cost?
  3. Solved it!!!! It was bloody SVN shell extension. Still one question remains: if the SVN shell extension I installed corrupts memory, how come it does not crash Windows Explorer itself?
  4. Thanks for the help. This problem is too hard. I think I am gonna quit, and hope that most people won't have this problem when opening a file. I have already uninstalled adobe reader but the problem persists. GetOpenFileName loads all these DLLs as soon as the dialog shows: [source] 'pasion2.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\clbcatq.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\comres.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\version.dll' 'pasion2.exe': Loaded 'C:\Program Files\Common Files\TortoiseOverlays\TortoiseOverlays.dll' 'pasion2.exe': Loaded 'C:\Program Files\TortoiseSVN\bin\TortoiseStub.dll', Binary was not built with debug information. 'pasion2.exe': Loaded 'C:\Program Files\TortoiseSVN\bin\TortoiseSVN.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\wininet.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\normaliz.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\urlmon.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\iertutil.dll' 'pasion2.exe': Loaded 'C:\Program Files\TortoiseSVN\bin\libapr_tsvn.dll' 'pasion2.exe': Loaded 'C:\Program Files\TortoiseSVN\bin\libaprutil_tsvn.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll' 'pasion2.exe': Loaded 'C:\Program Files\TortoiseSVN\bin\intl3_tsvn.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\msvcp90.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\shfolder.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\cscui.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\cscdll.dll' 'pasion2.exe': Loaded 'C:\Program Files\TortoiseCVS\TortoiseShell.dll', Binary was not built with debug information. 'pasion2.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\msvcp80.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\msvcr80.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\browseui.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\ntshrui.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\atl.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\userenv.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\shdocvw.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\cryptui.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\wintrust.dll' 'pasion2.exe': Loaded 'C:\WINDOWS\system32\imagehlp.dll' [/source] Then as I hover the tooltip it also loads the following: [source] 'pasion2.exe': Loaded 'C:\WINDOWS\system32\xpsp2res.dll', Binary was not built with debug information. 'pasion2.exe': Loaded 'C:\WINDOWS\system32\shimgvw.dll' 'pasion2.exe': Unloaded 'C:\WINDOWS\system32\shimgvw.dll' [/source] Most of these DLLs are system and there is nothing I can do about it. I will uninstall SVN and give it another try. Unfortunately the data breakpoint is not working either. I set a data breakpoint to the memory pointed by Texturebrushp: [source] BOOL Mainwindowprivate::virtual_wm_create ( HWND hwnd, LPCREATESTRUCT pcs ) { Containerprivate::virtual_wm_create ( hwnd, pcs ) ; Wallpaperbitmapp = LoadImage( "Wallpaper", "jpg" ) ; Texturebrushp = new TextureBrush( Wallpaperbitmapp ); python_wrap_staticcallback( reinterpret_cast<void(*)()>( &connect_initialize), "connect_initialize" ); PyModule_AddObject( PyImport_AddModule("application"), "country_listcallback", python_create_void( &Countrylistcallbacko )); python_import( "Mainwindow" ); python_call_method( "Mainwindow.Mainwindow", "(N)", python_create_container( this )); return TRUE; } [/source] Texturebrushp is never deleted in the life of the program. After the dialog opens I do "break all" and check the memory, everything is still ok. Then after a tooltip is displayed, I "break all" again, and get the attached image. All question marks. Texturebrushp points to 0x010df650. This memory belongs to my process and I never dealocated it. Strange.
  5. Some third party DLL loaded by GetOpenFileName is corrupting my memory. I want to know which so I can uninstall the program. Due to a well known problem with adobe reader, I do call ::OleInitialize(NULL) right in the beginning of main(). But even with that hack, once I hover over a filename inside the GetOpenFileName dialog and the tooltip appears, my app's memory is corrupted and it actually crashes when it receives a WM_PAINT and tries to access that memory. I want to break the debugging as soon as any code writes in that memory. Is it possible? [source] OPENFILENAME _ofn; vector<char> _Filename(1024); // buffer for file name //vector<char> _Filename(MAX_PATH); // buffer for file name ::ZeroMemory(&_ofn, sizeof(_ofn)); _ofn.lStructSize = sizeof(_ofn); _ofn.hwndOwner = *_Owner->Qdwindowp; _ofn.lpstrFile = &_Filename[0]; // Set lpstrFile[0] to '\0' so that GetOpenFileName does not // use the contents of _Filename to initialize itself. _ofn.lpstrFile[0] = '\0'; _ofn.nMaxFile = _Filename.size(); _ofn.lpstrFilter = _Filter; _ofn.nFilterIndex = 1; _ofn.Flags = OFN_EXPLORER | OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY | ( _Allowmultiselect ? OFN_ALLOWMULTISELECT : 0 ); ::GetOpenFileName(&_ofn); [/source]
  6. Hello, My game server is written in C++ and allows users to upload pictures. I need to create high quality jpeg thumbnails. I have heard about imagemagic. Is that still the best image library for linux?
  7. Trying to become a general computer programmer these days is a bad move. Had you finished your degree 5 years earlier you would have no problem landing a programmer job even with no experience. But now general programming it's a rat race to the bottom trying to compete with indian and chinese programmers who get paid less than $5 per hour. I would not advise the games industry either. Although the games industry is specialized, and you won't suffer as much competition, because bellow average programmers cannot get into it, game studios make programmers work like slaves and low pay. They assume that everyone is a geek who doesn't mind working for peanuts just because of their love of games. Get a career on something else and develop your own indie social game on your free time. 2 specialized fields where programmers get decent pay is finance and electronics. It's not easy to break into finance. I myself am trying to get into electronics. I wish I had studied electronics or electrical engineering instead of computer science.
  8. Horray! Next I want java dead on the web as well, and javascript should be replaced on the browser by python.
  9. [quote name='gretty' timestamp='1319509302' post='4876572'] Hello I have a WinAPI C++ application & I need to upload a file to my server. I want to use native WinAPI libraries/header files to upload the file so that my application will work on windows platforms 2000 & up & because I want to learn how to do it in win32 which I think will be fun. This means that I dont want to use a 3rd party library but learn how to do it the native WinAPI way. [b]Which of the following "Libraries"/Methods would be best for my needs? [/b]- WinHTTP - WinSock - WinINet Maybe there are better WinAPI libraries that I haven't mentioned aswell? The method of uploading I would use is either TCP, HTTP or UDP but I am not sure which transfer protocol would be best for what I am doing? Which would you suggest? [/quote] The native API way is winsock. I like to program raw API too. Just be careful with one thing. If your files are big you will have to send it in chunks. Use send() to send 8K in each call. But even breaking it in chunks, send() may not be able to send all 8K because the network may not be fast enough. So be prepared for send() to fail and retry again. If you have problems better ask in the networking forum.
  10. The isometric view is really cool. It reminds me of XCOM enemy unknown.
  11. [quote name='yckx' timestamp='1319066321' post='4874491'] What IDE are you using? The OP of that EggheadCafe link you posted created this [url="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=355711"]bug report[/url]. Microsoft responses indicate the bug was fixed in MSVC 2010 beta. [/quote] Microsoft Visual Studio 2008 Version 9.0.21022.8 RTM Microsoft .NET Framework Version 3.5 SP1 Installed Edition: VC Express
  12. I found the problem. This seems to be a static initialization/destruction fiasco problem: [url="http://http://www.gamedev.net/topic/486700-crash-during-destructor/"]http://www.gamedev.net/topic/486700-crash-during-destructor/[/url] I have to allocate my object on the heap. Still this is bad design from STL. A library should not depend on static global objects. It should provide an init() and deinit() methods. Another google hit: [url="http://www.eggheadcafe.com/microsoft/VC-Language/32623081/vc2008-stl-access-violation-depending-on-runtime-library-being----used--bug-or-undefined-behavior.aspx"]http://www.eggheadcafe.com/microsoft/VC-Language/32623081/vc2008-stl-access-violation-depending-on-runtime-library-being----used--bug-or-undefined-behavior.aspx[/url]
  13. My application is crashing during exit, when I close the main window. "Access violation". It crashes in this line: [code] ostringstream Debugmsg ; [/code] This line of code is called inside the destructor of a global object. here is the assembly [code] ostringstream Debugmsg ; 0050B738 mov esi,esp 0050B73A push 1 0050B73C push 2 0050B73E lea ecx,[Debugmsg] 0050B744 call dword ptr [__imp_std::basic_ostringstream<char,std::char_traits<char>,std::allocator<char> >::basic_ostringstream<char,std::char_traits<char>,std::allocator<char> > (5E1D9Ch)] 0050B74A cmp esi,esp 0050B74C call @ILT+20775(__RTC_CheckEsp) (48B12Ch) 0050B751 mov dword ptr [ebp-4],0 [/code] When I step in the above assembly code it crashes exactly in line 0050B744 Any ideas?
  14. Do not delete the accounts. What about this idea: Transfer their kingdom to the zombie area of the map. So the punishment for not being active is being relocated, but you still get to keep what you had, just in a different spot. And assign their previous position in the map to newbies. So players who play a lot will be close to each other. How do you handle newbie protection?
  15. By the way, in the dialog box you can put whatever you like: an animation, a progress bar and the cancel button. Although, in my opinion, if a request requires a progress bar, that means it will take more than 10s to finish. Typically that request would not be synchronous in a game, because you have to give the player something to do in the mean time. He will not like to wait more than 10s without doing jack.