April 27 2024 13:49:13
Navigation
· Home
· Articles
· Downloads
· FAQ
· Discussion Forum
· Web Links
· News Categories
· Contact Me
· Photo Gallery
· Search
· Gameservers
Languages
Users Online
· Guests Online: 4

· Members Online: 0

· Total Members: 1,129
· Newest Member: areen
Teamspeak 3
Last Seen Users
· GONZO 1 day
· Intruder 1 day
· areen 2 days
· The ACE 3 days
· Bonnfreddy 3 days
· hackepter 3 days
· Sully 5 days
· WEZ 6 days
· Homi 1 week
· Terminator 1 week
· Silent Bob 1 week
· Highl@nder 3 weeks
· Jardacz 3 weeks
· desintegrator 3 weeks
· gus 3 weeks

View Thread: Cannot start Editor
Vietcong.Info » Vietcong General Discussion » Vietcong Tech Talk
Who is here? 1 Guest
Current Rating: (Total: 0 ratings)  
 Print Thread
Cannot start Editor
apfelbaum
hey,

i installed windows xp as second system. after rebooting and starting the editor 1.61 on windows 7 (again), this happens...

i52.tinypic.com/f9pe9f.png


i reinstalled the editor 4 times. do i have to reinstall all the vietcong data (vc 1-1.6 + editor)?
Edited by apfelbaum on 27-09-2011 16:20
 
GoGs
as you can see maybe is problem in your script fprintf.c !!??
find in compiler folder and delete /rename folder then reinstall editor... then put your scripts in compiler folder easy Smile

String variable type SUPPOSE to newer be a NULL !!!!

Change that 56 line to:
str != ""
Edited by GoGs on 28-09-2011 17:58
SignatureGoGs
 
apfelbaum
hm, the problem is not vietcong, it looks like its microsoft visual studio 2010. the file fprintf.c is a file of visual studio.
Spoiler:
Download source  Code
/***
*fprintf.c - print formatted data to stream
*
*       Copyright (c) Microsoft Corporation. All rights reserved.
*
*Purpose:
*       defines fprintf() - print formatted data to stream
*
*******************************************************************************/

#include <cruntime.h>
#include <stdio.h>
#include <dbgint.h>
#include <stdarg.h>
#include <file2.h>
#include <internal.h>
#include <mtdll.h>
#include <stddef.h>

/***
*int fprintf(stream, format, ...) - print formatted data
*
*Purpose:
*       Prints formatted data on the given using the format string to
*       format data and getting as many arguments as called for
*       _output does the real work here
*
*Entry:
*       FILE *stream - stream to print on
*       char *format - format string to control data format/number of arguments
*       followed by arguments to print, number and type controlled by
*       format string
*
*Exit:
*       returns number of characters printed
*
*Exceptions:
*
*******************************************************************************/

int __cdecl fprintf (
        FILE *str,
        const char *format,
        ...
        )
/*
 * 'F'ile (stream) 'PRINT', 'F'ormatted
 */
{
    va_list(arglist);
    REG1 FILE *stream;
    REG2 int buffing;
    int retval=0;

    _VALIDATE_RETURN( (str != NULL), EINVAL, -1);
    _VALIDATE_RETURN( (format != NULL), EINVAL, -1);

    va_start(arglist, format);

    /* Init stream pointer */
    stream = str;

    _lock_str(stream);
    __try {
        _VALIDATE_STREAM_ANSI_SETRET(stream, EINVAL, retval, -1);

        if (retval==0)
        {
            buffing = _stbuf(stream);
            retval = _output_l(stream,format,NULL,arglist);
            _ftbuf(buffing, stream);
        }
    }
    __finally {
        _unlock_str(stream);
    }

    return(retval);
}

int __cdecl _fprintf_l (
        FILE *str,
        const char *format,
        _locale_t plocinfo,
        ...
        )
{
    va_list arglist;

    va_start(arglist, plocinfo);

    return _vfprintf_l(str, format, plocinfo, arglist);
}

int __cdecl _fprintf_s_l (
        FILE *str,
        const char *format,
        _locale_t plocinfo,
        ...
        )
{
    va_list arglist;

    va_start(arglist, plocinfo);

    return _vfprintf_s_l(str, format, plocinfo, arglist);
}

int __cdecl fprintf_s (
        FILE *str,
        const char *format,
        ...
        )
{
    va_list arglist;

    va_start(arglist, format);

    return _vfprintf_s_l(str, format, NULL, arglist);
}

int __cdecl _fprintf_p_l (
        FILE *str,
        const char *format,
        _locale_t plocinfo,
        ...
        )
{
    va_list arglist;

    va_start(arglist, plocinfo);

    return _vfprintf_p_l(str, format, plocinfo, arglist);
}

int __cdecl _fprintf_p (
        FILE *str,
        const char *format,
        ...
        )
{
    va_list arglist;

    va_start(arglist, format);

    return _vfprintf_p_l(str, format, NULL, arglist);
}





i copied the script, maybe you see the mistake!?
Edited by apfelbaum on 01-10-2011 14:16
 
GoGs
Problem is that i do not see a structure of variable FILE...

Also you can try if you don't get error on line

_VALIDATE_RETURN( (format != NULL), EINVAL, -1);

You can type there
Download source  Code

if(format != NULL)
{
     _VALIDATE_RETURN( (true), EINVAL, -1);
     _VALIDATE_RETURN( (true), EINVAL, -1);
}
else
{
     _VALIDATE_RETURN( (false), EINVAL, -1);
     _VALIDATE_RETURN( (false), EINVAL, -1);
}




and i dont have any clue what that function (_VALIDATE_RETURN) actually do and do she need to be there at all...

also you can try with TRY function...
Download source  Code

__try {
_VALIDATE_RETURN( (str != NULL), EINVAL, -1);
_VALIDATE_RETURN( (format != NULL), EINVAL, -1);
}
__finally {
       
}


Edited by GoGs on 02-10-2011 11:59
SignatureGoGs
 
apfelbaum
thx gogs for your help, but that didnt work.

now i deleted visual studio and all the registry parts, but the editor shows the problem on and on, although these scripts doesnt exist on my harddrive anymore.
 
Ando
Maybe your editor.exe is damaged?
What about dev_editor.exe?
 
apfelbaum
i reinstalled the editor a lot of times and tried the dev_editor from ldc too. but i always have the same error. only when i change the 6 dll's (game, log, ogg, pd3d8d, pdcs, vorbis) from the main directory with the one from the engine folder and then start the game, the game starts in the editor 1.61b. but in this editor i cannot use the function "rebuild texdb" and it lags extremly...
 
apfelbaum
heeeelp^^
 
GoGs
Did you try rename compiler folder to something else then install LDC version of editor then open editor?
SignatureGoGs
 
apfelbaum
yes
 
GoGs
ok then download this and unpack... in dev folder

http://video-flas...
SignatureGoGs
 
apfelbaum
It doesn't work...I think Windows wants to execute the process over the scripts of Microsoft Visual Studio !?

My PC:

Windows 7 Professional 64-bit
Intel Core 2 Quad Q 8200
ATI HD 5770 1024 mb VRam
Intel Motherboard
6144 mb Ram
2x IDE Sata HDD 640 GB


I had Microsoft Visual Studio 2010 Professional installed. Then 5 days ago I installed Windows XP. Unfortunately I couldn't boot Windows XP and Windows 7 same time (couldn'T switch between the systems; XP was the only option) so I had to repair Windows 7 with the repair tool on the Windows 7 disc; I "reinstalled" the Windows 7 Bootloader. Then I could start Windows 7, I deleted all the Windows XP files from the 2nd partition. Since then I got these errors.

i55.tinypic.com/wjvs4y.png
i54.tinypic.com/23l19g7.png

Also I deleted Microsoft Visual Studio and all its parts from my harddrive and the scripts doesn't exist anymore.
Edited by apfelbaum on 04-10-2011 22:02
 
apfelbaum
Nope, that can't be real...I toggled 'run in compatibilitymode' windows xp service pack 3. now it works without errors....oh my good. earlier i didn't have to run in in compatibilitymode.

but thanks that you tried to help me
  x 1
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Help me start a server Vietcong Tech Talk 2 07-03-2024 00:20
Questions related to editor Maps & Mapping 2 17-02-2021 16:45
Editor Crash Maps & Mapping 3 18-05-2020 21:37
DEV editor keeps crashing Vietcong Tech Talk 9 18-06-2019 17:19
VC Editor full guide (Wiki) Maps & Mapping 7 19-03-2019 10:54
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Render time: 0.62 seconds - 80 Queries 4,922,813 unique visits