Nefario
Nefario
CC#
Created by ULTIMA on 5/13/2024 in #help
Lever to open a door
do you already drag and drop this?
public int leverNumber;/
public int leverNumber;/
from what i can tell, if player in range near lever, player can interact it with get button E, then if player press E while inrange then do animation. if your code really doesnt work, try to debug it using Unity Debug Mode or you can always count write a comment there. on each function. to see whather or not it works. and also i want to ask you question where this script attach to? is it on the Lever or Player itself?, if it's on the lever, why there's Input.GetKeyDown? on the lever?
21 replies
CC#
Created by hensoro on 5/3/2024 in #help
How do these parameters even work?
you can think parameter as of the key, and the method is the house with different set of lock. as long as you know the what lock is, you can create that key.
public void foo(int lock1, string lock2){}
public void foo(int lock1, string lock2){}
if you want to call the method it means you need to call it for specific lock
foo(12345,"test");
foo(12345,"test");
also if you have to call a method from a class you can think of this class as the owner of this house, for example if you have avarage class
public class Devin
{
public void foo(int lock1, string lock2){}
}
public class Devin
{
public void foo(int lock1, string lock2){}
}
Devin dev = new Devin();
dev.foo(123,"test");
Devin dev = new Devin();
dev.foo(123,"test");
of course each owner have different personality, you can think of avarege class = introvert so you need to make a relatioshop first (we always call this create a new object). and if the class is static like below you can think of it as extrovert person. just call it by name and he always reply to you
public static class bar2{}
public static class bar2{}
8 replies
CC#
Created by Mih4n on 4/30/2024 in #help
open source mit pdf lib
i want to recommend ironpdf, but you cant use that... so you need to figure it out how to generate it manually....
8 replies
CC#
Created by Mih4n on 4/30/2024 in #help
open source mit pdf lib
use ilovepdf.com?
8 replies
CC#
Created by D2S on 4/26/2024 in #help
✅ Please let me know if you have used VS 2022 before
Yes pretty much we all know this. but first you need to try it yourself like spooky said. and if you stuck like idk 1 hour or 15 minute and don't know how to solved it, then you can ask for some help.
37 replies
CC#
Created by Jacob on 4/26/2024 in #help
✅ validation page
i dont get it :pikawhat:
4 replies
CC#
Created by Rodersnow on 4/24/2024 in #help
Any suggenstion how to implement shopping cart feature?
im assumming you asking for a flow? imo.
Front End :
Add Item
Make new list contain all item
Save all the information related to the Items like, ItemId, Price, Name etc to the new list
Send the list to backend.

Backend :
POST
Get all the list from frontend
Save all the list to the user database.

GET
Get all list from user database
Front End :
Add Item
Make new list contain all item
Save all the information related to the Items like, ItemId, Price, Name etc to the new list
Send the list to backend.

Backend :
POST
Get all the list from frontend
Save all the list to the user database.

GET
Get all list from user database
More or less like this?
3 replies
CC#
Created by Nathan ∀ on 4/11/2024 in #help
help im a beginner in wpf and i have urgent deadline
ah yes, you were right...
13 replies
CC#
Created by Nathan ∀ on 4/11/2024 in #help
help im a beginner in wpf and i have urgent deadline
just follow that and you good to go :catpog:
13 replies
CC#
Created by Nathan ∀ on 4/11/2024 in #help
help im a beginner in wpf and i have urgent deadline
13 replies
CC#
Created by Nathan ∀ on 4/11/2024 in #help
help im a beginner in wpf and i have urgent deadline
well i mean if you know how to make butto,text box and etc. you pretty much can code.... so i dont know where the problem is
13 replies
CC#
Created by Häng on 4/11/2024 in #help
Disable Blazor NavLink
well in that case add an overlapping loading animation and add Cancel button on that popup... :awesome: or add a.. State? like if State A then disable this if State B then enable it?. i often do this on Unity whenever i want to playaround with the unity prefab, but im not so sure if this OK in blazor. :TeBeCat:
8 replies
CC#
Created by Häng on 4/11/2024 in #help
Disable Blazor NavLink
you can add loading bar and pop up?.
8 replies
CC#
Created by CYPHER on 4/11/2024 in #help
Asp.net Login and Signup
whats your problem? i never use asp.net i usually using blazor but im pretty sure it's same / almost same logic. share your code.
14 replies
CC#
Created by Nefario on 2/4/2024 in #help
Blazor Server App. Error KeyNotFoundException: The given key was not present in the dictionary.
and as for my appsetting.json
"ConnectionStrings": {
"PostgrestSql": "Server=localhost;Port=5432;Database=postgres;user=postgres;Pwd=local;"
},
"ConnectionStrings": {
"PostgrestSql": "Server=localhost;Port=5432;Database=postgres;user=postgres;Pwd=local;"
},
i dont see anything wrong with it, did i miss something? my postgres database running on port 5432 and as for my pgadmin running on 5050
2 replies
CC#
Created by Nefario on 2/3/2024 in #help
Web API Blazor Assembly test api on postman
yes, but i dont know where to start.. tried debug mode and got no clue what is it....
9 replies
CC#
Created by Nefario on 2/3/2024 in #help
Web API Blazor Assembly test api on postman
No description
9 replies