LV
4
do u have multiple configuration that use localhost? default port probably been use by other server. 1433 is the default. so try to disable any other server first and try againCould you tell me what I’m doing wrong?
TCP/IP in sql server cfg enable[ID]
name = GameServer00
equment = system
[Gate]
gate = 127.0.0.1, 1971
info = 127.0.0.1, 1985, Y87dc#$98, 1
[Map]
map = garner
map = lonetower
map = teampk
map = PKmap
[Database]
db_name = GameDB
db_ip = localhost
db_usr = pko_game
db_pass = pkodevnet
[Socket]
keep_alive = 120
[BaseID]
BaseID = 0x50000000
[Entity]
max_ply = 1800
max_cha = 15000
max_item = 30000
max_tnpc = 300
[Guild]
guild_num = 30
guild_try_num = 30
[Item]
item_show_time = 60
item_prot_time = 30
[Interval]
say_interval = 1
weather_interval = 300 // every 5 minutes instead of 2
[LOG]
log_cha = 0
log_cal = 0
log_ai = 0
log_mission = 0
[Debug]
supercmd = 1
gmcmd = 0,1,2,3,4,5,6
[Res]
res_dir = ./resource
log_dir = LOG\\GameServer00
[Large map switch]
db_mapmask = 1
[Corsairs]
stall_offline = 1
stall_empty_dc = 1 // disconnect on empty stall
stall_interval = 48
igs_instant = 1
chaos_map = garner2
chaos_blind = 0 // blinds "chaos_map" in cfg
persist_state = 48,49,83,127,147
View attachment 910
Have you changed you SQL to mixed authentication?Could you tell me what I’m doing wrong?
TCP/IP in sql server cfg enable[ID]
name = GameServer00
equment = system
[Gate]
gate = 127.0.0.1, 1971
info = 127.0.0.1, 1985, Y87dc#$98, 1
[Map]
map = garner
map = lonetower
map = teampk
map = PKmap
[Database]
db_name = GameDB
db_ip = localhost
db_usr = pko_game
db_pass = pkodevnet
[Socket]
keep_alive = 120
[BaseID]
BaseID = 0x50000000
[Entity]
max_ply = 1800
max_cha = 15000
max_item = 30000
max_tnpc = 300
[Guild]
guild_num = 30
guild_try_num = 30
[Item]
item_show_time = 60
item_prot_time = 30
[Interval]
say_interval = 1
weather_interval = 300 // every 5 minutes instead of 2
[LOG]
log_cha = 0
log_cal = 0
log_ai = 0
log_mission = 0
[Debug]
supercmd = 1
gmcmd = 0,1,2,3,4,5,6
[Res]
res_dir = ./resource
log_dir = LOG\\GameServer00
[Large map switch]
db_mapmask = 1
[Corsairs]
stall_offline = 1
stall_empty_dc = 1 // disconnect on empty stall
stall_interval = 48
igs_instant = 1
chaos_map = garner2
chaos_blind = 0 // blinds "chaos_map" in cfg
persist_state = 48,49,83,127,147
View attachment 910
Yeah, I overlooked "mixed authentication"; I enabled it, and everything connected.Have you changed you SQL to mixed authentication?
can you actualy login on SSMS using your server account? and does it have the right permissions?
I managed to build the solution, but the client won't start (the loading window appears and disappears without the client launching).Yeah, I overlooked "mixed authentication"; I enabled it, and everything connected.
I have another problem.
I'm getting an error with "MindPower3D" during compilation. I tried building talesofpirates.sln and MindPower3D separately, but it's not working (
08-30 14:22:08
Unknown Windwos VerUnknown Windows NT
DirectX Ver C0000
GetDeviceCaps error
Access Violation
The thread attempted to read from or write to a virtual address for which it does not have the appropriate access
C:\Users\fryja\Downloads\TalesOfPirateSrc\TalesOfPirateDX9-main\sources\Libraries\CaLua\Lua\ltable.c(297) : Game.exe at resize()
C:\Users\fryja\Downloads\TalesOfPirateSrc\TalesOfPirateDX9-main\sources\Libraries\CaLua\Lua\ltable.c(411) : Game.exe at newkey()
C:\Users\fryja\Downloads\TalesOfPirateSrc\TalesOfPirateDX9-main\sources\Libraries\CaLua\Lua\ltable.c(494) : Game.exe at luaH_set()
C:\Users\fryja\Downloads\TalesOfPirateSrc\TalesOfPirateDX9-main\sources\Libraries\CaLua\Lua\lvm.c(175) : Game.exe at luaV_settable()
C:\Users\fryja\Downloads\TalesOfPirateSrc\TalesOfPirateDX9-main\sources\Libraries\CaLua\Lua\lapi.c(571) : Game.exe at lua_settable()
C:\Users\fryja\Downloads\TalesOfPirateSrc\TalesOfPirateDX9-main\sources\Libraries\CaLua\Lua\lib\lauxlib.c(245) : Game.exe at luaL_openlib()
C:\Users\fryja\Downloads\TalesOfPirateSrc\TalesOfPirateDX9-main\sources\Libraries\CaLua\Lua\lib\lbaselib.c(668) : Game.exe at luaopen_base()
C:\Users\fryja\Downloads\TalesOfPirateSrc\TalesOfPirateDX9-main\sources\Client\src\lua_platform.cpp(29) : Game.exe at InitLuaPlatform()
C:\Users\fryja\Downloads\TalesOfPirateSrc\TalesOfPirateDX9-main\sources\Client\src\Main.cpp(363) : Game.exe at WinMain()
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(107) : Game.exe at invoke_main()
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(288) : Game.exe at __scrt_common_main_seh()
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(331) : Game.exe at __scrt_common_main()
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_winmain.cpp(17) : Game.exe at WinMainCRTStartup()
(0) : KERNEL32.DLL at BaseThreadInitThunk()
(0) : ntdll.dll at RtlInitializeExceptionChain()
(0) : ntdll.dll at RtlGetAppContainerNamedObjectPath()