Jump to content
Easycore

Release: Extended Vending 2.0

Recommended Posts


Error	C2039	'jname': is not a member of 'item_data'	map-server	c:\users\user\documents\ra\rathena\src\map\clif.cpp	13779	
Error	C2660	'strcat': function does not take 1 arguments	map-server	c:\users\user\documents\ra\rathena\src\map\clif.cpp	13779	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\skill.cpp	8110	
Error	C2039	'jname': is not a member of 'item_data'	map-server	c:\users\user\documents\ra\rathena\src\map\skill.cpp	17757	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	101	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	335	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	366	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	374	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	400	

latest pull

Share this post


Link to post
Share on other sites
Quote

 

Got this problem 

strcat(strcat(strcat(strcat(out_msg, "["), item->ename), "] "), message);

 
Error (active)    E0413    no suitable conversion function from "std::string" to "const char *" exists    map-server   
 


 

NVM Already Solve

Edited by simplexjay2
Solve the Problem

Share this post


Link to post
Share on other sites
Posted (edited)
On 2/27/2021 at 4:56 PM, ProjectFaust said:

Hi i'm facing the same problem even thou my item already YAML

any suggestion?

its not yml sucks. they change jname to ename

#define itemdb_ename(n) itemdb_search(n)->ename.c_str()

 

Edited by gamingmagic

Share this post


Link to post
Share on other sites
Posted (edited)

Error    C2664    'char *strcat(char *,const char *)': cannot convert argument 2 from 'std::string' to 'const char *'    map-server   rathena\src\map\clif.cpp    13789 

mapserver

sv_readdb: cant read db/item_vending.txt

 

anyone can solve this error?
 

Capture.PNG

Edited by kalabasa

Share this post


Link to post
Share on other sites
5 hours ago, kalabasa said:

Error    C2664    'char *strcat(char *,const char *)': cannot convert argument 2 from 'std::string' to 'const char *'    map-server   rathena\src\map\clif.cpp    13789 

mapserver

sv_readdb: cant read db/item_vending.txt

 

anyone can solve this error?
 

Capture.PNG

You forgot to add this to your SQL

ALTER TABLE `vendings` ADD COLUMN `extended_vending_item` int(10) unsigned NOT NULL DEFAULT '0' AFTER `sit`;

 

Share this post


Link to post
Share on other sites

Not working on latest rAthena.

Share this post


Link to post
Share on other sites
10 hours ago, cook1e said:

Not working on latest rAthena.

it's working u just need to edit something

 

Share this post


Link to post
Share on other sites
7 hours ago, simplexjay2 said:

it's working u just need to edit something

 

Well, RIP... i don't know what to edit

Share this post


Link to post
Share on other sites
7 hours ago, simplexjay2 said:

what error u have

 

care to check my errors?

Share this post


Link to post
Share on other sites
On 12/18/2020 at 11:17 AM, kalabasa said:

Error	C2039	'jname': is not a member of 'item_data'	map-server	c:\users\user\documents\ra\rathena\src\map\clif.cpp	13779	
Error	C2660	'strcat': function does not take 1 arguments	map-server	c:\users\user\documents\ra\rathena\src\map\clif.cpp	13779	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\skill.cpp	8110	
Error	C2039	'jname': is not a member of 'item_data'	map-server	c:\users\user\documents\ra\rathena\src\map\skill.cpp	17757	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	101	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	335	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	366	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	374	
Error	C3861	'itemdb_jname': identifier not found	map-server	c:\users\user\documents\ra\rathena\src\map\vending.cpp	400	

latest pull

#define itemdb_ename(n) itemdb_search(n)->ename.c_str()

check that line revise it.

dont use jname

Share this post


Link to post
Share on other sites
On 3/18/2021 at 2:48 PM, kalabasa said:

Error    C2664    'char *strcat(char *,const char *)': cannot convert argument 2 from 'std::string' to 'const char *'    map-server   rathena\src\map\clif.cpp    13789 

mapserver

sv_readdb: cant read db/item_vending.txt

 

anyone can solve this error?
 

Capture.PNG

this is my latest error @gamingmagic

Share this post


Link to post
Share on other sites
Posted (edited)
4 minutes ago, kalabasa said:

this is my latest error @gamingmagic

add this to sql

ALTER TABLE `vendings` ADD COLUMN `extended_vending_item` int(10) unsigned NOT NULL DEFAULT '0' AFTER `sit`;
Edited by gamingmagic

Share this post


Link to post
Share on other sites

I am also getting the just the apple, it patches smoothly, no errors both in compilation and in console. I'm using 2020-04-01 client. It says 'skill has failed' when I try to vend and choose any apple as currency. Any luck? Clean latest revision of rathena [8f4d1be]

2020-04-01bRagexe.exe

258 Enable Shortcut All Item
3 Chat Flood Remove Limit
8 Custom Window Title
9 Disable 1rag1 type parameters (Recommended)
270 Change AchievementList*.lub path
272 Change Towninfo*.lub path
16 Disable Swear Filter
273 Change PetEvolutionCln*.lub path
274 Change Tipbox*.lub path
275 Change CheckAttendance*.lub path
19 Enable Title Bar Menu
20 Extend Chat Box
277 Change RecommendedQuestInfoList*.lub path
21 Extend Chat Room Box
278 Change PrivateAirplane*.lub path
279 Fix item description bug
23 Enable /who command (Recommended)
24 Fix Camera Angles (Recommended)
283 Change fade in/out delay
28 Increase Headgear ViewID
287 Change character display deletion time from actual date to relative date
31 Increase Zoom Out 75%
289 Fix Homunculus attack AI
290 Hide build info in client (Recommended)
34 Enable /showname (Recommended)
291 Hide packets from peek (Recommended)
36 Read msgstringtable.txt (Recommended)
38 Remove Gravity Ads (Recommended)
39 Remove Gravity Logo (Recommended)
41 Disable Nagle Algorithm (Recommended)
43 Always Use Email for Char Deletion
44 Translate Client (Recommended)
46 Use Normal Guild Brackets (Recommended)
48 Use Plain Text Descriptions (Recommended)
49 Enable Multiple GRFs (Recommended)
50 Skip License Screen
53 Use Ascii on All LangTypes (Recommended)
313 Change MapInfo*.lub path
319 Opening To Service Select
64 @ Bug Fix (Recommended)
65 Load Custom lua file instead of iteminfo*.lub (Recommended)
322 Case-Insensitive Storage Search
328 Enable 44.1 kHz Audio Sampling Frequency
329 Disable ViewPointTable.txt
73 Remove Hourly Announce (Recommended)
331 Disable Blind skills effect
75 Enable Flag Emoticons
334 Remove Hardcoded HTTP IP
335 Enable HTTP Emblem on Ragexe
79 Shared Body Palettes Type2
338 Additional client validation (Recommended)
83 Shared Head Palettes Type2
84 Remove Serial Display (Recommended)
342 Add support for preview button in cash shop
343 Change MerchantStore Url
344 Mvp Drop Item Use Identified Name
88 Allow space in guild name
90 Enable DNS Support (Recommended)
91 Disconnect to Login Window
98 Disable dc_scream.txt
99 Disable ba_frostjoke.txt
101 Skip Friend list Cheat Check
102 Skip Guild Member Cheat Check
213 Disable Help Message on Login (Recommended)
215 Increase Map Quality
222 Show Replay Button
227 Change Walk To Delay.
229 Enable Emblem hover for BG
230 Always load Korea ExternalSettings lua file
231 Remove hardcoded address/port (Recommended)
232 Restore old login packet (Recommended)
242 Disable kRO Site Launch
244 Disable Cheat Defender Game Guard (Recommended)
246 Increase hair style limit in game
253 Skip some hidden menu icon buttons
255 Change Auto Follow Delay
256 Use Default Web Browser In Cashshop

 

Share this post


Link to post
Share on other sites
Posted (edited)
9 hours ago, M a p l e said:

I updated the diff to the latest rA, enjoy!

ExtendedVending_rev6.diff 27.68 kB · 5 downloads

thank you for your wonderful time spending to update this

but im getting errors

sv_readdb can't read db/item_vending.txt <- though i already added this manually

also this part

not working

REPLACE INTO `item_db2_re` (`id`,`name_aegis`,`name_english`,`type`,`price_sell`,`weight`) VALUES (30000,'Zeny','Zeny','Etc',10,10);
REPLACE INTO `item_db2_rel` (`id`,`name_aegis`,`name_english`,`type`,`price_sell`,`weight`) VALUES (30001,'Cash','Cash','Etc',10,10);

is this the same adding the custom zeny or cash in item_db.yml?

when i try buying the item wont be bought nothing happens

additional map server error

 

mapserver.PNG

Edited by kalabasa
additional error

Share this post


Link to post
Share on other sites

Good day to you all!

I recently encountered this error while trying to vend my whitesmith.

After i successfully used my vending skill and open up a merchant vend, when someone tries to open the vend it will immediately disconnect you to the server and all the players online then server crashed.

[Error]: Server recieved crash signal! attempting to save all online characters!

Segmentation fault.

in screenshot below, i tried to disabled extended vending but still the problem insist.

i hope you guys can give some info and ideas to fix this.

Thank you!

error.png

error2.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.